From owner-freebsd-questions Sat Sep 13 22:43:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA23209 for questions-outgoing; Sat, 13 Sep 1997 22:43:29 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA23203 for ; Sat, 13 Sep 1997 22:43:24 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id PAA14065; Sun, 14 Sep 1997 15:13:11 +0930 (CST) Message-ID: <19970914151310.37318@lemis.com> Date: Sun, 14 Sep 1997 15:13:10 +0930 From: Greg Lehey To: Phumichit Saeueng Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Phumichit Saeueng on Sun, Sep 14, 1997 at 11:41:54AM +0700 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Sep 14, 1997 at 11:41:54AM +0700, Phumichit Saeueng wrote: > To freebsd-questions > Sometime the power gone out. If someone change passwd > before power gone out for a few time. When the system boot up > again. I (root) cannot login. And Cannot doing anything. And > I cannot change anything (everyone cannot login) I think I lost > my password system. because the system gone down without > shutdown. Boot in single-user mode: Boot: -s This doesn't need a password. When you get the single-user prompt, you can change it to something you know. > when I boot my machine in single mode > Can I boot into my system in writeable mode in / directory?? In order to get it writeable, you must run: # mount -u / If it refuses, you may first need to run fsck: # fsck -y / > How can I resolve this problem without buy a new UPS. Well, it looks like a UPS might be a good idea anyway :-) Greg