Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news-feed.mci.newscorp.com!news2.near.net!maceo.emedia.net!usenet From: Rob Francis <Rob_Francis@dti.net> Newsgroups: comp.unix.bsd.bsdi.misc Subject: pwd_mkdb man page isn't clear Date: Tue, 12 Dec 1995 21:52:55 -0500 Organization: Digital Telemedia Inc. Lines: 23 Message-ID: <30CE4007.41C6@dti.net> NNTP-Posting-Host: rook.emedia.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0b3 (X11; I; IRIX 5.3 IP22) From the man page: Pwd_mkdb creates dbopen(3) style secure and insecure databases for the specified file. These databases are then installed into /etc/spwd.db and /etc/pwd.db respectively. The file is installed into /etc/master.passwd. Does this mean the /etc/spwd.db and /etc/pwd.db files are created *from* whatever is in /etc/master.passwd? That sure doesn't seem to be the case. I'm trying to generate a bunch of entries on my own from a file, but doing a `pwd_mkdb /etc/master.passwd` after creating a valid /etc/master.passwd only has the effect of nuking my changes to /etc/master.passwd. Any thoughts on the matter? -rob --- Rob Francis---Digital Telemedia---Rob_Francis@dti.net <URL:http://www.dti.net/Hyplans/rfrancis/>