FreeBSD · FreeBSD 11 · Password recovery

Resetting root password on FreeBSD 11

In this article we will have a look at how to reset the root password on FreeBSD 11

  1. Power on your machine
  2. At the BSD bootloader press 2 to “Boot Single User”
  3. The system will boot up to a administrative root shell without asking for a password
  4. Type “mount -u /”
  5. Type “passwd root”
  6. Enter your new password and confirm
  7. Reboot your machine
  8. Try logging using your new password

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s