dlostboy (at) lostinfo (dot) com 

Home | Journal | Multimedia | Files | Other | Links | About

      FreeBSD 4.4 HOW-TO reset your root password

You screwed up and forgot your root password...what to do?!

(from the freebsd.org site:)

Restart the system, type

  • boot -s
    at the Boot: prompt (just -s for FreeBSD releases before 3.2)
    to enter Single User mode. At the question about the shell to use, hit ENTER. You will be dropped to a # prompt. Enter
  • mount -u /
    to remount your root filesystem read/write, then run
  • mount -a
    to remount all the filesystems. Run passwd root to change the root password then
  • exit
    to continue booting.

  •  
     

      ©2000, ©2001 LostInformation