Friday, July 5, 2013

Day 14: What To Do If You Forgot Your Ubuntu Password

      Today again we're not trying out a distro.  I'm just giving advice on how to recover your password.   

What To Do If You Forgot Your Ubuntu Password

        First, if you have a Grub menu you just select Recovery Mode, but if you do not have a Grub menu press shift or escape right before Ubuntu boots.  After you click on Recovery Mode you will see lines of code going down your screen, don't panic, just let it do it's thing.  Then when everything is loaded there should be a menu.  Select Root on the menu and click enter.  A command line should appear at the bottom of the screen.  Type mount -o rw,remount /.  After that if you don't know the user your changing, type ls -home then type passwd (user), then it will ask you for your new password.  After that is done type: exit.  You will be at the Recovery Mode menu again.  Select Resume Normal Boot.  Even though it has done a normal boot, it is not a clean boot, some things don't work right, so you should probably reboot after that.              




No comments:

Post a Comment