From owner-freebsd-questions Tue May 5 05:09:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27950 for freebsd-questions-outgoing; Tue, 5 May 1998 05:09:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27783 for ; Tue, 5 May 1998 05:09:21 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.8/8.8.8) with ESMTP id NAA25914; Tue, 5 May 1998 13:08:33 +0100 (BST) (envelope-from kpielorz@tdx.co.uk) Message-ID: <354F0152.859F3A10@tdx.co.uk> Date: Tue, 05 May 1998 13:08:50 +0100 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Oles Hnatkevych CC: questions@FreeBSD.ORG Subject: Re: root password forgotten References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oles Hnatkevych wrote: > > Hello! > > I'm in deep trouble. We've forgotten root password, and the only > thing we have are boot floppy and fixit floppy. How we solve this? > I can mount harddrive partition, look at its /etc files, even > vi works ;-). > > Booting in single-user mode does not help coz root partition > is read-only. :-( > You were almost there... Once you've booted to single-user mode run: mount -a This we mount all your filesystems as Read/Write - you should then be able to run: passwd Which will change the root password from single-user mode... Regards, Karl Pielorz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message