recovering root password
how can i recover rooy password in redhat linux..
|
|
There is (and should be!) no way to "recover" the root password -- only to remove it or set it to a known value, which is what the linked pages describe.
|
Quote:
|
In fact there is no way to recover "any" password in Linux!
|
we can recover the password in redhat by:
*Root Password can be recovered in a specialized troubleshooting mode (i.e. init 1). *init 1 level provides a shell (i.e. sh) without logging in. # procedure: 1.Restart the system 2.In the splash screen Select RedHat Enterprise Linux Press 'e' 3.Select Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet 4.Press 'e' to edit 5.Edit Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet 1 6.press enter 7.Press 'b' to boot with the selected run level directly you will get shell prompt to assign the root password 8.sh-3.00#passwd root |
Quote:
|
Yes there is a method to recover the root password without resetting it. But that is not a standard procedure. :)
|
Quote:
|
All times are GMT -5. The time now is 10:46 PM. |