Author: Grey Cloak
Email Address of author: grycloak@greycloak.access.one.net
Web Page (if applicable):  http://www.geocities.com/Area51/7614
Date: December 2, 1997
One-line summary of topic\question: Resetting lost root password
Version of RedHat Linux answer is applicable to:  3.x and up

-Fully qualified question (if applicable):
How do I get into Linux if I lost my Root password?

-Related Issues (if applicable):
None.

-Related Links:
None.

-Answer:
You lost your root password, and need to get into your root account?
This isn't a hassle if you have physical access to the computer.

What you will need to do, is a re-boot. If you are an ISP it would
be prudent to warn users that are logged in. Say something like 
you have to do an emergency maintenance.

Ok, Now how do you  do it.

1: First think up a new password.

2: Reboot the machine.

3: At lilo prompt type Linux 1
    This will bring up a single user system. The prompt will be something
    like:  #

4: At the prompt after you are in type:

 passwd root

5: Enter your new password at the prompts.

6: Reboot like normal
    This reboot will return the machine back to normal run levels.

or if you don't want to reboot, type one of the following:
init 3  (for console login, which is the default)
init 5  (for XDM login)

<EOF>
