From owner-freebsd-questions Wed Mar 8 10:22:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hydrant.intranova.net (msb-ts-slip09.UMDNJ.EDU [130.219.28.69]) by hub.freebsd.org (Postfix) with SMTP id D225C37B63D for ; Wed, 8 Mar 2000 10:22:28 -0800 (PST) (envelope-from oogali@intranova.net) Received: (qmail 63899 invoked from network); 7 Mar 2000 06:10:48 -0000 Received: from hydrant.abuselabs.com (HELO hydrant) (@192.168.0.1) by hydrant.abuselabs.com with SMTP; 7 Mar 2000 06:10:48 -0000 Date: Tue, 7 Mar 2000 01:10:48 -0500 (EST) From: Omachonu Ogali To: casaubon@cybercable.net.mx Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: misc/17240: Lost the root password of an OLD machine In-Reply-To: <200003070503.VAA22186@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Boot into single-user mode and run fsck, then: mount -o rw / And set your password from there, by the way, this isn't a FreeBSD bug, it should be in -questions rather than -bugs. On Mon, 6 Mar 2000 casaubon@cybercable.net.mx wrote: > > >Number: 17240 > >Category: misc > >Synopsis: Lost the root password of an OLD machine > >Confidential: no > >Severity: serious > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Mar 6 21:10:01 PST 2000 > >Closed-Date: > >Last-Modified: > >Originator: Fernando Casaubon > >Release: 2.0.1 > >Organization: > >Environment: > >Description: > Well, I have a HD with FreeBSD installed, but since the box where > I was running it crashed for good long ago (about 5 years ago) > so I had the HD in a drawer til today, when I got a project to get > that HD up and running and get the info I have in it up again. > My problem is... I forgot the root password and the only password I > remember is of an account that is not in the wheel group, no read > access to /etc/master.passwd. The single user boot of that system > is read only access and I cannot edit master.passwd and to make it > worse, the machine is not longer in the same net, so I need root > password to change the configuration. Any ideas? Thanks bunches. > >How-To-Repeat: > Turn the box on. > >Fix: > How to get the root password of an old box > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > -- +-------------------------------------------------------------------------+ | Omachonu Ogali oogali@intranova.net | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-------------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message