*BSD News Article 91339


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!coconut!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!rill.news.pipex.net!pipex!dispatch.news.demon.net!demon!stress.noc.demon.net!hdm
From: hdm@demon.net (Dominic Mitchell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Root password
Date: Tue, 18 Mar 1997 12:46:12 GMT
Organization: Demon Internet Ltd.
Message-ID: <slrn5it3kk.884.hdm@stress.noc.demon.net>
References: <332E4CD3.7971@pjwstk.waw.pl>
Reply-To: hdm@demon.net
NNTP-Posting-Host: stress.noc.demon.net
X-NNTP-Posting-Host: stress.noc.demon.net
X-Newsreader: slrn (0.9.3.2 UNIX)
Lines: 17
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37258

Earlier, Grzegorz Dobrowolski <duzy@pjwstk.waw.pl> wrote:
> I have a problem with root password. I forgot it.
> I used -c option in boot command, but I can't change root password
> because root file system is read only.
> I can mount device where is root file system elsewhere in read-write
> mode, but vipw don't change passwd in eg. /mnt/etc... directory

Try this to mount the file-system rw:

# mount -u -o rw /

-Dom
-- 
This posting is not an official communication of Demon Internet
Ltd., unless otherwise stated.
---- Work: hdm@demon.net ---- Play: dom-news@myrddin.demon.co.uk ----
non ex transverso sed deorsum