Reset FreeBSD Root Password

Recommended VPS for your FreeBSD or Linux Server + Custom Iso Allowed (Free $20 credit for limited time, grab it now)

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.