*BSD News Article 96611


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.apfel.de!news-fra1.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!grapool30.rz.uni-frankfurt.de!News.Uni-Marburg.DE!news.belwue.de!LF.net!news.omnilink.net!news.toplink.net!toplink1.toplink.net!ck
From: ck@toplink.net (Christian Kratzer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help: password db corrupt
Date: 31 May 1997 11:45:01 GMT
Organization: Customers of TopLink Internet Services, Germany
Lines: 25
Message-ID: <5mp2vt$nov@news.toplink.net>
References: <5mmqub$g2m@news.interlog.com> <5mn0vn$8kq@ui-gate.utell.co.uk>
NNTP-Posting-Host: toplink1.toplink.net
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41960

Hi,

: Pant pant (wipes smirk from face).  Hate that !

: master.passwd is the original - the reset are derivations.

: You should have a copy of master.passwd in /var/backups.  Do a
: "mount -a -u -t nonfs" and copy it to /etc.  Then do a
: "pwd_mkdb master.passwd" to create *pwd.db and do a "vipw"
: and a :wq to create your passwd file.  You may not even need
: the pwd_mkdb step.

you can skip the vipw step if you use "pwd_mkdb -p file"
	
	cp /var/backup/master.passwd.bak /etc/master.passwd.temp
	pwd_mkdb -p master.passwd.temp

Greetings
Christian

--
TopLink GbR, Internet Services			info@toplink.net
Christian Kratzer				http://www.toplink.net/
Phone: 	+49 7452 885-0
Fax: 	+49 7452 885-199	FreeBSD spoken here!