Results 1 to 3 of 3
Thread: lost root password
Enjoy an ad free experience by logging in. Not a member yet? Register.
lost root password
I was wanting to test recovering a lost root password on one system so I made a user account and thought I'd try to "recover" the user password.
I logged into the account with the password I had made, the account was fine.
I logged out of the user and back into root and "cleared" the user account password in the /etc/shadow file by removing everything between the 2 ':' , saved the file and then went back to attempt to log in the user account, I cannot get in by nothing or the old password.
I may set up a different machine to test on but if this is an accurate test, would I lose my install because of this?
Is it not the same for root and user?
Should I have changed something else?
just confused and looking.
- Join Date
- May 2004
- arch linux
Check this HowTo for several ways to reset the root password:
The first method is generally the easiest option.oz
Thanks for the reply, I had been reading that thread as I found it on another search.
Just from the set up I have shown, do you see a reason why it would not work?
I feel like no method will work if the above will not.
I am setting up a couple machines so i can do testing but the above leads me to think it has little chances.
Again, thank you much for the reply.