Saturday, November 1, 2008

Reset the root password on OpenBSD or FreeBSD

Start or reboot the system.
At the boot prompt:


boot> boot -s

# mount -uw / #make / writable
# mount /usr #mount /usr
# passwd #change the password

#reboot

 

No comments: