*BSD News Article 91385


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!cs.mu.OZ.AU!munnari.OZ.AU!news.Hawaii.Edu!ames!agate!spool.mu.edu!howland.erols.net!news.mathworks.com!solaris.cc.vt.edu!elmira.functional.com!grail
From: Giao Nguyen <grail@functional.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Root password
Date: 18 Mar 1997 11:19:09 GMT
Organization: FIS Technologies
Lines: 22
Message-ID: <5gltnd$56m$1@solaris.cc.vt.edu>
References: <332E4CD3.7971@pjwstk.waw.pl>
NNTP-Posting-Host: elmira.functional.com
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37292

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


: What should I do ? Help!

: Grzeg

Sounds like fun =)

boot with the -s option to go into single user mode. Then mount -a -t ufs
to mount all the filesystems as they should normally be mounted. Then
change your password as necessary.


Giao Nguyen
Project Manager	
FIS Technologies