Openbsd Root Password Recovery

if you ever have to recover root password …

boot> boot -s

Enter pathname of shell or RETURN for sh: [ENTER]

fsck -p / 
fsck -p /usr

mount -uw /
mount /usr

passwd

and finally: reboot

sha256: b95b600be5f4f8c76448bc80699fdf39660be04dd3c92169bbfa16cf61d4f1a8