Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 00:45:56 +0200
From:      Benjamin Rossen <ergosum@benjaminrossen.com>
To:        freebsd-questions@freebsd.org
Subject:   lost root passwd
Message-ID:  <200504170045.56394.ergosum@benjaminrossen.com>

next in thread | raw e-mail | index | archive | help
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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504170045.56394.ergosum>