You are on page 1of 1

In FreeBSD, you should be able to recover root access when you have forgotten th

e root password by following these steps:


1.Restart the system.
2.At the boot: prompt, enter boot -s to enter Single User Mode.
3.When asked what shell to use, press the Enter key.
4.Because the root filesystem will be mounted read-only by default, you will nee
d to remount it using the mount -ruw / command to give yourself read/write acces
s.
5.Run mount -a to remount all filesystems specified in the /etc/fstab file.
6.Run passwd root to set a new root password.
7.Run exit to continue booting normally

You might also like