Saturday, June 2, 2012

Reset root password in FreeBSD



  • On FreeBSD boot menu, press space bar to pause the default booting 
  • Boot FreeBSD in single user mode, by typing number 4 key
  • Enter full pathname of shell or RETURN for /bin/sh:
  • mount -u /
  • mount -a
  • Type passwd to reset the password
  • Renter the new password and confirm it
  • Reboot the machine and login with the new password

No comments:

Post a Comment