tags: openbsd, tips
If you forgot root password and have a phisical access to console, you can easily reset it.
Reboot your computer with [Ctrl]+[Alt]+[Del]
At the boot prompt enter:
It boots OpenBSD in the single-user mode.
The root filesystem is mounted read-only in this case.
To re-mount it as ‘read-write’ run:
mount -uw /
Change password with passwd and reboot the system.