Docu review done: Mon 06 May 2024 09:27:10 AM CEST
Root pwd reset (also if expired)
When you restart the system wait until you see something similar to the below:
Using drive 0, partition 3.
Loading…
probing : pc0 com0 apm mem[634K 319M a20=on]
disk: fd0 hd0+
>> OpenBSD/i386 BOOT 2.06
boot>
#at this point you are going to want to enter into single user mode by typing boot -s at the boot prompt:
boot> boot -s
#Now run fsck on the root partition, to make sure things are okay for changes:
Enter pathname of shell or RETURN for sh: <press return>
$ fsck /
#Mount all filesystems by typing:
$ mount -a
#Reset root's password by typing passwd command and then reboot:
$ passwd
#Changing local password for root.
New password: **********
Retype new password **********
#Reboot system
$ shutdown -r now