Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 11:30:27 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        "Doug Reynolds" <mav@wastegate.net>
Cc:        "Dimitri T" <midiostri@yahoo.co.uk>, "questions@freebsd.org" <questions@FreeBSD.ORG>
Subject:   Re: the door is closed! 
Message-ID:  <200112121930.fBCJURd28098@ptavv.es.net>
In-Reply-To: Your message of "Wed, 12 Dec 2001 09:08:24 EST." <20011212140915.974E637B417@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Doug Reynolds" <mav@wastegate.net>
> Date: Wed, 12 Dec 2001 09:08:24 -0500
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> On Wed, 12 Dec 2001 08:04:45 +0000 (GMT), Dimitri T wrote:
> 
> >i've just installed freebsd and i'm trying to login
> >for the first time but this seems impossible. 
> >
> >i'm sure that during the installation i've typed the
> >word 'secret' as the root password but after rebooting
> >this password is not accepted! :(
> >
> >after this i've booted in single mode but when i give
> ># passwd root
> >and try to set the password, i get a "read-only file
> >system". vipw won't do it either..
> 
> boot single user, to get a writeable file system, i do this:
> 
> umount -a
> mount -a
> 
> that unmounts all systems, and mount remounts all as writeable, then
> run passwd

While this works, it is just slightly risky. The handbook recommends:
fsck -p
mount -u /
mount -a

The first command is important as it makes sure that FS is fully
consistent before allowing writes. (It is probably not really
important on volumes running soft updates.)

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112121930.fBCJURd28098>