Date: Wed, 12 Dec 2001 15:13:24 -0500 From: "Doug Reynolds" <mav@wastegate.net> To: "Kevin Oberman" <oberman@es.net> Cc: "Dimitri T" <midiostri@yahoo.co.uk>, "questions@freebsd.org" <questions@FreeBSD.ORG> Subject: Re: the door is closed! Message-ID: <20011212201321.0D71F37B419@hub.freebsd.org> In-Reply-To: <200112121930.fBCJURd28098@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Dec 2001 11:30:27 -0800, Kevin Oberman wrote: >> >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.) the fsck slipped my mind. although if system was running, it'd probably work without it, but its still probably a good idea. --- doug reynolds | the maverick | mav@wastegate.net PGP Public Key Fingerprint: 6E7B 9993 B503 6D45 E33A 2019 26E5 C1DB 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?20011212201321.0D71F37B419>