# reboot

On boot FreeBSD choose Boot Single User (2).

System will start and you will see promt.
Hit Enter.

Mount system:

# mount -u /
# mount -a

Reset password:

# passwd

Restart server:

# reboot