in reply to Interprocess Communication

Actually, if you really want to avoid IPC for this, you could just edit (hey, wordwrap! Thanks!) your /etc/master.passwd (or /etc/passwd, shame on you for not shadowing) file directly with Perl, and issue a mkpwdb command once you're finished. Of course, it's pretty important to use file-locking so that your program doesn't step on others' (or its own!) toes. If I ever finish the program that does what you are talking about (as well as much more), I will post some code here. Pray it doesn't kill me first. --TQuid

Replies are listed 'Best First'.
RE: RE: Interprocess Communication
by httptech (Chaplain) on Jul 04, 2000 at 20:05 UTC
    I believe master.passwd is the BSD equivalent of /etc/shadow, where /etc/passwd is the world readable file, and /etc/master.passwd is the root-readable-only file with the crypted passwords in it. For the same reason, he may not have mkpwdb either (I don't find it on my Linux box or BSDi boxes)