Search For :
Tutorial: bsd
Title: Procedure to reset root password openbsd
Date: October 17, 2008
Tutorial bsd
Procedure to reset root password openbsd
At boot> prompt type boot -s to boot into single user mode:
boot> boot -s
Next you will see a message as follows:

Enter pathname of shell or RETURN for sh:

Just hit [Enter] key to load sh shell.
Next mount / and /usr file system in read-write mode:
# mount -uw /
# mount /usr

Finally set or change the password for root user, enter:
# passwd

Press CTRL+D to boot into multiuser mode or just reboot server:
# reboot