*BSD News Article 81858


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!news.texoma.com!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [sing boot] help
Date: 30 Oct 1996 08:56:01 GMT
Organization: Private BSD site, Dresden
Lines: 25
Message-ID: <557571$9li@uriah.heep.sax.de>
References: <554trf$2lu@usenet.kornet.nm.kr>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

comlab@taeback.kornet.nm.kr (DongHo Lee (kornet)) wrote:

> in first, I reboot with single mode ( on booting, I put "-s" option)
> but I can olny mount root with read-only. I can't modified or
> copy the other files related to passwd. I tried to copy spwd.db of 
> other freeBSD machine to my system . I failed.

Single-user is the right step.  When it comes up, type:

	fsck -p
	mount -a -t ufs

In the hope that your /etc/master.passwd file is still intact, you
can then:

	pwd_mkdb -p /etc/master.passwd

Otherwise, get a backup copy.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)