Getting to root when the password has been lost

Tim Sesow Rocky Mntn tims%com at uunet.uu.net
Sat Sep 8 09:58:08 AEST 1990


The only way to get back into root once you have lost the password is
to boot the system in single-user mode.  The UNIX installation 
manual for your system probably tells how to do this.  It varies
from system to system.  

Once you are in single user mode, edit the /etc/password file to
remove the password (second field in line that starts with "root").
Then just type a CONTROL-D to start up in multi-user mode, 
login as root (no password required), and set a new password.



More information about the Comp.unix.internals mailing list