List Info

Thread: how to recover root password




how to recover root password
user name
2006-12-29 11:01:01
Hello,

do the following

1) get Linux Boot CD (CD #1 )
2) make the server boot from the CD
3) when the boot menu comes type the following "linux rescue"
4) it will ask you if you want to mount the current OS image , Select Yes
5) you will have the old OS in /mnt/IMAGE or something alike

____

6) go to the Image folder
7) Eidt shadow file : vi shadow
8) you will find root:sdkjfskhfksjhkjsdfhks:0:0
9) please remove what is after the first : colon (that is the encrypted password of root) and STOP at the next colon

10) reboot

user name  :root
password : (leave it blank - hit enter-)

you are there

change the password (passwd )

have fun

do not hesitate to contact me if you need anything

Merry Christmas

Regards
Samer Azmy

On 12/29/06, Dan Schroeder < d_schroederhotmail.com">d_schroederhotmail.com> wrote:

Hi Ganesh,

 

Check out this article on the Red Hat website:

 

http://kbase.redhat.com/faq/FAQ_80_202.shtm

 

Hope that helps!

 

Dan Schroeder

 


From: rhn-users-bouncesredhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rhn-users-bouncesredhat.com [mailto: rhn-users-bouncesredhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> rhn-users-bouncesredhat.com] On Behalf Of Ganesh Reddy
Sent: Thursday, December 28, 2006 9:01 PM
To: rhn-usersredhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rhn-usersredhat.com
Subject: [rhn-users] how to recover root password

 

Hi

 

I have installed RHEL 4.0 version&nbsp;.I dont know for some reasons..root password is being changing by itself for some days frequently.From Linux GUI i use to assign password again ;but mistakingly i had log out from the server,now it is asking for root password to again login.When i am typing the regular password ,it is not accepting .Now what to do.. how to recover my root passwords.Can any one provide me with definite solution.

 

Regards

ganesh

Shakti MetDor


_______________________________________________
rhn-users mailing list
redhat.com">rhn-usersredhat.com
https://www.redhat.com/mailman/listinfo/rhn-users


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )