DIGIT-ARC read-only archive · snapshot: July 23, 2026

Lost password @ Linux, Read it

3 posts · originally from https://geek.digit.in/community/threads/lost-password-linux-read-it.44835/

Tushar.bar
Tushar.bar Original post #1
Dec 27, 2006 at 4:43 PM
Ya , in those steps you can recover your password in linux. Even root password.

1> Start Your computer using any linux live CD
2> Access the HDD partition on which you have install your linux.
3> On that partition open /etc/shadow using any text editor.

Now Look carefully at this file. On that file each line is divided into many field separated by a separator ":" .Look for the user name which have to recover password. On that line delete characters from first separator to second separator. That is first “:” to second “:”. But do not delete any of separator. Save and close the file.

Oh! You have done it. Restart your computer to boot by the installed linux. When prompted for password for that user just left the field blank .


Any problem contact me.
~Phenom~
Dec 27, 2006 at 6:04 PM
I think almost everybody on this forum using linux know it and there are many other ways to get into the linux root without passwd , which have been posted on this forum , still I appreciate u for sharing knowledge.
amit9815
Dec 28, 2006 at 1:23 AM
Thank you.