From owner-freebsd-questions Wed Dec 12 11:32:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id B1B6E37B405 for ; Wed, 12 Dec 2001 11:32:19 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id fBCJURd28098; Wed, 12 Dec 2001 11:30:27 -0800 (PST) Message-Id: <200112121930.fBCJURd28098@ptavv.es.net> To: "Doug Reynolds" Cc: "Dimitri T" , "questions@freebsd.org" Subject: Re: the door is closed! In-reply-to: Your message of "Wed, 12 Dec 2001 09:08:24 EST." <20011212140915.974E637B417@hub.freebsd.org> Date: Wed, 12 Dec 2001 11:30:27 -0800 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Doug Reynolds" > 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