Jimmie Brandon wrote:
> 
> I just finished installing Red Hat 5.1.
> 
> The computer has rebooted and it is asking for
> 
> "localhost login:".
> 
> In the installation process, earlier it asked me for
> a login and password.  I tried using the password at
> the "localhost login:" prompt, but the system wants
> another password.
> 
> The "localhost login:" prompt just keeps coming back
> for the correct login.

5.1 has known vulnerabilities. If you plan on putting the box on a public
network you should install 6.1.

At the login prompt, type 'root' then at the password prompt, enter the
password you created during installation.

If this doesn't work, you'll need to reset the password like this:

 1. Reboot.

 2. At the "boot:" prompt, type: linux s
    This will boot you into single-user mode with root privileges (just like
Windows)

 3. Edit the /etc/passwd file (pico -w /etc/passwd) and delete the text in
the second field of the "root" line. Fields are delimited by a colon (:). 
If the only thing there is an "x", then leave it alone and edit /etc/shadow
instead (also the second column). Don't forget to use the "-w" command with
pico so it won't wrap lines in these critical files.

 4. Reboot.

 5. At the login prompt, type: root
    You should not be prompted for a password.

 6. To set a new root password use the command: passwd

 7. Create a normal user account to use for yourself and "su" to root when
necessary to configure the system.

 8. Lots of other stuff to run a fun and secure system.  ;-)

-- 
 Anthony E. Greene <[EMAIL PROTECTED]>
 Homepage & PGP Key <http://www.pobox.com/~agreene/>
 If it's too good to be true, it's probably Linux.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to