Start New Discussion Reply to this Discussion Recover Root Password
How to recover root password when grub is lock
Related Article: how to know your root password in fedora?
is a Linux and Unix discussion thread by acfchinnababu that has 3 replies, was last updated 8 months ago and has been tagged with the keywords: root, password.
raju1234
Newbie Poster
11 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
Boot into recovery mode from the install CD/DVD or Live CD.
From there you can access the terminal and mount the device containing /etc (usually /dev/hda1).
Edit the shadow file and just remove the encryption string for the root account.
Example:
From root:$1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB.:10852:0:99999:7:::
To root::10852:0:99999:7:::
Then just reboot and login as root.
When asked for a password, just hit enter. And then use passwd to change password.
Oxiegen
Master Poster
761 posts since Jun 2006
Reputation Points: 87
Solved Threads: 149
Skill Endorsements: 5
How can i access terminal through live cd
raju1234
Newbie Poster
11 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page generated in 0.0694 seconds
using 2.64MB