Reset FreeBSD Root Password

Maintain more machine means more password to remember, while keep it unique and secure also tend to forget for long time inactivity. Yes, because its stable 🙂

One of my sandbox need to replace the lan card and I need to login but I can’t.

After reading dan googling I reboot the sandbox and do these steps :

  1. Choose to login to single mode, press number 4
  2. Hit enter keyboard to enter shell
  3. Mount / dan /usr
  4. Change password using ‘passwd’ utility
  5. In some resource, suggested to use ‘resync;resync’ command
  6. Restart server
  7. Change lan card name 🙂

I make video using vmware to ilustrate the process. Perhaps it helps 🙂

Click here to see the video, click here to download.

Tags: