Return to BSD News archive
Newsgroups: comp.os.386bsd.misc Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!zip.eecs.umich.edu!umn.edu!newsdist.tc.umn.edu!uum1!newsserver!mark From: mark@jupiter.aggregate.com (Mark P. Gooderum, Software Engineer) Subject: Re: change the super user password Sender: usenet@newsserver.aggregate.com (Usenet News Administrative Account) Message-ID: <MARK.94May31175810@jupiter.aggregate.com> In-Reply-To: charnier@lirmm.fr's message of 31 May 1994 12:02:50 GMT Date: Tue, 31 May 1994 22:58:10 GMT References: <2s5rfj$j90@imladris.frmug.fr.net> <1994May31.081353.5519@news.qut.edu.au> <CHARNIER.94May31140250@baobab.lirmm.fr> Nntp-Posting-Host: jupiter.aggregate.com Organization: Aggregate Computing, Inc. Lines: 23 > >>>>> "Babak" == Babak Mohajerin <babak@scorpio.sprc.qut.edu.au> > writes: In article <1994May31.081353.5519@news.qut.edu.au> > babak@scorpio.sprc.qut.edu.au (Babak Mohajerin) writes: > Babak> Hi I have received a 486 pc running NetBSD without the > Babak> superuser password. I tried to change it by going to > single Babak> user mode and edit /etc/passwd and Babak> > /etc/master.passwd. Althought I was able to do that, I > you must use passwd to change a passwd and vipw to edit the passwd > file (vipw do vi and REBUILD the passwd database) Or do "pwd_mkdb -v /etc/master.passwd" after editing it, at least in NetBSD which is what the question is for. -- -Mark -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mark P. Gooderum USSnail: Aggregate Computing, Inc. Software Engineer 300 So. Hiway 169 Ste 400 "Working hard to be hardly working..." Minneapolis, MN 55426 EMail: mark@aggregate.com Voice: (612) 546-5579 Interactive: mark@jupiter.aggregate.com Fax: (612) 546-9485 mark@sol.aggregate.com Sales/Sup:(800) 966-1666 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~