Fwd: lost root passwd

Benjamin Rossen ergosum at benjaminrossen.com
Sat Apr 16 15:47:15 PDT 2005


Sorry... typo

# mount -u /
# mount /usr
# passwd root


----------  Forwarded Message  ----------

Subject: lost root passwd
Date: Sunday 17 April 2005 00:45
From: Benjamin Rossen <ergosum at benjaminrossen.com>
To: freebsd-questions at freebsd.org

Marty

I think the problem you are having comes because you must boot your machine in 
single-user mode to make this work. 

Then: 
# mount -u /
# mount /usr
# passed root

You shall then be prompted as follows;

Enter new password: <enter password>
Enter new password again: <enter password>

#^D 

The Ctrl+D causes the system to contine booting with the new password. 

You do not need to mount the /usr file separately if you have not given this 
its own (extended) partition when you formatted your disks. 

Good luck, 

Benjamin Rossen 




-------------------------------------------------------


More information about the freebsd-questions mailing list