From owner-freebsd-questions Sun Nov 9 00:49:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA24498 for questions-outgoing; Sun, 9 Nov 1997 00:49:07 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA24492; Sun, 9 Nov 1997 00:49:02 -0800 (PST) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id TAA07025; Sun, 9 Nov 1997 19:48:33 +1100 (EST) Date: Sun, 9 Nov 1997 19:48:32 +1100 (EST) From: "Daniel O'Callaghan" To: Jason McKay cc: questions@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: Boot Problems In-Reply-To: <2.2.32.19971109125313.00907c3c@argo.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 9 Nov 1997, Jason McKay wrote: > I edited my rc.conf file to add some named flags, the machine is now hanging > when named is loading ... > > How can I get back to my rc.conf file to remove the flags. * How to recover when you are locked out (system hangs during boot sequence, forgotten root password,...) 1. ctrl-alt-delete 2. At boot prompt enter '-s' for 'single user mode' 3. At 'Shell prompt' hit or type "/bin/csh" 4. mount / (mounts / read-write) 5. mount /usr (gives you /usr/* so you can use vi and shared libs) 6. Make your fixes (e.g. vipw, passwd, vi /etc/rc.conf) 7. - system continues booting. Have fun. Danny