From nobody@FreeBSD.org  Mon Mar  6 21:03:58 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 198E037BDCC
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Mar 2000 21:03:58 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id VAA22186;
	Mon, 6 Mar 2000 21:03:57 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003070503.VAA22186@freefall.freebsd.org>
Date: Mon, 6 Mar 2000 21:03:57 -0800 (PST)
From: casaubon@cybercable.net.mx
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: Lost the root password of an OLD machine
X-Send-Pr-Version: www-1.0

>Number:         17240
>Category:       misc
>Synopsis:       Lost the root password of an OLD machine
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  6 21:10:01 PST 2000
>Closed-Date:    Mon Mar 6 21:11:27 PST 2000
>Last-Modified:  Wed Mar  8 10:30:01 PST 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Mon Mar 6 21:11:27 PST 2000 
State-Changed-Why:  
This is all covered in http://www.FreeBSD.org/FAQ/ 

Also, please use freebsd-questions@FreeBSD.org to ask questions 
and the send-pr system to report actual bugs in the future. 

From: Omachonu Ogali <oogali@intranova.net>
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
Date: Tue, 7 Mar 2000 01:10:48 -0500 (EST)

 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 |
 +-------------------------------------------------------------------------+
 
 
>Unformatted:
