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: