[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-newbie
Subject:    Re: root password
From:       Ray Olszewski <ray () comarre ! com>
Date:       2005-03-30 14:36:32
Message-ID: 5.1.0.14.1.20050330063201.02035bd0 () celine
[Download RAW message or body]

At 11:16 PM 3/29/2005 -0800, Ankit Jain wrote:
>hi
>
>i have forgotten my root pasword. i had installed
>redhat linux 9.0 kernel version 2.4 with grub loader.
>if somebody can tell me how to change the password
>without logging.


The normal solution to this sort of problem is to boot the system using a 
rescue disk (floppy or CD, depending on your hardware); mount the 
filesystem with the password problem at some convenient mount point; and 
delete the root password entry from /etc/shadow . Then reboot normally, log 
in as root (with no password) and set a new root password. Do all of this 
with the system disconnected from the Internet, of course, until you have a 
new root password in place.

Any other suggestion of how to become root without knowing the root 
password is a technique for breaking into systems, and I (and I hope 
everyone else) will not give advice on that publicly, in this forum or 
anywhere else.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic