Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 19:50:25 +0000
From:      Simon Dick <simond@irrelevant.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        Doug Reynolds <mav@wastegate.net>, Dimitri T <midiostri@yahoo.co.uk>, "questions@freebsd.org" <questions@FreeBSD.ORG>
Subject:   Re: the door is closed!
Message-ID:  <20011212195024.GA44104@irrelevant.org>
In-Reply-To: <200112121930.fBCJURd28098@ptavv.es.net>
References:  <20011212140915.974E637B417@hub.freebsd.org> <200112121930.fBCJURd28098@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 12, 2001 at 11:30:27AM -0800, Kevin Oberman wrote:
> > 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 /

You don't actually to do this stage, mount has a special case handling
the root filesystem that automatically assumes this flag on the mount -a
call.

> 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.)

It's still a good idea :)

-- 
Simon Dick					simond@irrelevant.org
"Why do I get this urge to go bowling everytime I see Tux?"

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?20011212195024.GA44104>