*BSD News Article 45805


Return to BSD News archive

Xref: sserve comp.unix.bsd.bsdi.misc:289 comp.unix.questions:65794 comp.unix.bsd.misc:86 comp.unix.bsd.386bsd.misc:72 comp.unix.misc:17373
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!ulowell.uml.edu!europa.chnt.gtegsc.com!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!calliope.wln.com!rs6a.wln.com!fryja
From: fryja@rs6a.wln.com (Jason K Fry)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.questions,comp.unix.bsd.misc,comp.unix.bsd.386bsd.misc,comp.unix.misc
Subject: Re: rebuilding the passwd database
Followup-To: comp.unix.bsd.bsdi.misc,comp.unix.questions,comp.unix.bsd.misc,comp.unix.bsd.386bsd.misc,comp.unix.misc
Date: 16 Jun 1995 15:35:34 GMT
Organization: WLN
Lines: 24
Message-ID: <3rs8c6$7c2@calliope.wln.com>
References: <3rpq0k$5cp@news.mtu.edu>
NNTP-Posting-Host: rs6a.wln.com
X-Newsreader: TIN [version 1.1 PL8]

Brian A. Bucher (babucher@mtu.edu) wrote:

: System is BSD/OS 1.1

: After running the adduser script (perl) that came with the system,
: everything is fine except that the passwd database needs to
: be read in before the userid is associated with a userid number.
: We have to run vipw, do a write (don't have to change anything) and
: then exit for the database to rebuild.
: Is there a manual way to do this that I can add to the script,
: or just run on the command line?

: We have shadowed passwds (not sure if it came with the system
: or not because I am brand new here)

: Thanks,
: Boo

Try the mkpasswd command.  This is the command that vipw uses to activate
the new passwd entries.

Hope this helps

Jason