If you are like me, you have millions of passwords and you tend to change them frequently. But what happens if you can't login to your Linux machine?
Shift key :
Often, your mint system does not show you grub screen to select the boot option. But you need that for recovery option. So, while boot, continuously click on shift key.
This will bring up the advanced options. Edit this menu option and change ro to rw, because you want your system to be read/write.
Now boot the recovery option using F10. And descend to boot as root.
Now you will see boot prompt - #.
Give passwd command as
passwd username
and change your password.
Now I can say proudly that along with installing OS, I can also recover password in Linux system.
Comments
Post a Comment