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

next in thread | raw e-mail | index | archive | help

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@benjaminrossen.com>
To: freebsd-questions@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 




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



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