Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 1995 14:14:27 -0400 (EDT)
From:      "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
To:        Don Dugger <dugger@swn.com>
Cc:        questions@freebsd.org
Subject:   Re: How do I get it to boot nornally again?
Message-ID:  <Pine.3.89.9509151414.K8558-0100000@kryten.atinc.com>
In-Reply-To: <Pine.LNX.3.91.950915095938.3439A-100000@quixote.swn.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 15 Sep 1995, Don Dugger wrote:

> 
> Some how I managed to change my root password to something
> other than what I wanted to and of coure how I don't know what it is. 
> But my real problem is that I tried to use the "fixit" on my install boot
> floppy and it mounted "/" read-only. Ok, so I'll do something else.

	ftp either 2.0R.aha or 2.0R.ncr from 
kryten.atinc.com:/pub/FreeBSD/fixit.

	boot to that floppy.   
	/sbin/mount /dev/wd0a /mnt     <-- your root partition
	/mnt/bin/mv /mnt/etc/master.passwd /mnt/etc/master.passwd.old

		repeat for /mnt/etc/passwd
			   /mnt/etc/spwd.db
		           /mnt/etc/pwd.db
	
	/mnt/bin/mv /etc/passwd /mnt/etc	
	
	/sbin/halt


	reboot to the hard disk using -s  
	mv /etc/master.passwd.old /etc/master.passwd
	passwd						<-- reset root
							    passwd

> I'm running 2.0R that I down loaded to floppies. (I don't wanta 
> reinstall everything I installed this a year ago and I don't have
> away to backup everything so I'll lose alot of good stuff, please 
> help)

	go to the computer store, do not pass go.  part with $200 dollars 
BUY a tape backup unit


Jonathan M. Bresler  jmb@kryten.atinc.com       | Analysis & Technology, Inc.  
FreeBSD Postmaster   jmb@FreeBSD.Org            | 2341 Jeff Davis Hwy
play go.                                        | Arlington, VA 22202
ride bike. hack FreeBSD.--ah the good life      | 703-418-2800 x346




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9509151414.K8558-0100000>