How to change root password in FreeBSD

1. Turn the system off.
2. Hit ESC when the OS boots up
3. Choose to boot into Single User Mode (option 4)
4. Select the default shell (/bin/sh)
5. When the machine is booted up and you see the prompt, enter:
* mount -u /
* mount -a
6. Type passwd to reset the password
7. Enter the new password and confirm it
8. Type reboot to reboot the machine (or press the shutdown button to reboot)

One thought on “How to change root password in FreeBSD

  1. Have you ever thought about creating an e-book or guest authoring on other blogs?
    I have a blog centered on the same topics you discuss and would really like to have
    you share some stories/information. I know my subscribers would
    value your work. If you are even remotely interested, feel
    free to send me an e mail.

Leave a comment