patp22
asked on
CENTOS 5.3 root password reset - Help!
Greetings:
Client has Centos 5.3 Linux. Root password is lost
I read the link that shows how the password can be reset
http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-rescuemode.html
When I go to the website, I can't find 5.3 distro, instead only 5.6 available
http://centos.bulkbookstore.com/5.6/isos/i386/
If I download the iso under the above link named " CentOS-5.6-i386-LiveCD.iso "
and burn the iso and boot with that cd, will I be able to reset the root password?
Or is there another way of resetting the password. Thanks/Pat
Client has Centos 5.3 Linux. Root password is lost
I read the link that shows how the password can be reset
http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-rescuemode.html
When I go to the website, I can't find 5.3 distro, instead only 5.6 available
http://centos.bulkbookstore.com/5.6/isos/i386/
If I download the iso under the above link named " CentOS-5.6-i386-LiveCD.iso
and burn the iso and boot with that cd, will I be able to reset the root password?
Or is there another way of resetting the password. Thanks/Pat
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, i will try and report back
BTW there's no difference on using 5.3 or 5.6 disk. They will all recognize and be able to mount your file system.
After you've recover your password I'll suggest you to upgrade to the latest version using yum update.
After you've recover your password I'll suggest you to upgrade to the latest version using yum update.
Jusyt boot it in rescue mode (i.e., linux rescue in the boot: prompt)
mount your filesystem..
go to shell
either edit your /mnt/filesystem/etc/shadow
or just chroot to the mounted system and issue passwd command
then you're good to go.
Cheers,
K.