From owner-freebsd-questions Wed Dec 12 12:13:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.mx.pitdc1.stargate.net (smtp1.mx.pitdc1.stargate.net [206.210.69.141]) by hub.freebsd.org (Postfix) with SMTP id 0D71F37B419 for ; Wed, 12 Dec 2001 12:13:21 -0800 (PST) Received: (qmail 19893 invoked from network); 12 Dec 2001 20:12:42 -0000 Received: from unknown (HELO wastegate.net) (209.166.135.124) by smtp1.mx.pitdc1.stargate.net with SMTP; 12 Dec 2001 20:12:42 -0000 Received: (qmail 7422 invoked from network); 12 Dec 2001 20:13:18 -0000 Received: from unknown (HELO mother.wastegate.net) (192.168.1.2) by 192.168.1.1 with SMTP; 12 Dec 2001 20:13:18 -0000 From: "Doug Reynolds" To: "Kevin Oberman" Cc: "Dimitri T" , "questions@freebsd.org" Date: Wed, 12 Dec 2001 15:13:24 -0500 Reply-To: "Doug Reynolds" X-Mailer: PMMail 2000 Professional (2.20.2380) For Windows 98 (4.10.2222) In-Reply-To: <200112121930.fBCJURd28098@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: the door is closed! Message-Id: <20011212201321.0D71F37B419@hub.freebsd.org> 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 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