Few days ago I was recovering a lost root password on one of my FreeBSD servers - no sudo or NIS to override.
But there’s always chroot, below pieces of the process.
So the drive got 3 partition 2 ufs and swap, let’s try to mount first partition.
In situation like this is always worth to check fstab.
Time to mount the second disk to get access to the /usr partition.
Seems like everything’s in place, time to chroot into the system and reset the password.