Reset Your Password in Ubuntu 13.10

Don’t Panic If you ever forget your password and are unable to log into Ubuntu in your computer . There is a very simple and quick way to reset your password with the help of recovery mode option in the Grub menu.

Do the following steps to reset your password:

  • Start your computer.
  • In the Grub Menu which appears by default when you start your computer, Select “Advanced options for Ubuntu
  • In the next screen,  Select “Ubuntu, with Linux 3.11.0-13-generic (recovery mode)“.
  • Now You will be shown the recovery menu. In the recovery menu Select “root – Drop to root shell prompt“.
  • Now a command prompt will appear at the bottom of the screen. In the command prompt, type the following command to show all the users of your computer.

             ls /home

  • Next, Type the following command in the command prompt to mount with permissions.

              mount -rw -o remount /

  • Now Type “passwd username” in the Command prompt. For example if the username you selected is “abc“, then type the following command in the command prompt:

              passwd abc

  • It will now prompt you for a new password:

              Enter new UNIX Password:

              Retype new UNIX Password:

  • After Entering and retyping the new password in the command prompt, It will show the following message:

              Passwd:Password updated successfully

  • That’s It! You can now just restart your computer and log in to Ubuntu with your new password. Type “reboot”  in the command prompt to restart your computer.

You can use this method to reset your password whenever a need arises. But be careful as someone else might also use this method to reset your password and log in to your system.

Read:  How to set a root password in Ubuntu

4 Responses

  1. kat says:

    I followed these instructions but got-
    passwd: Authentication token manipulaion error
    passwd: password unchanged

    I read somewhere else i need to maybe remove my old passowrd first but i dont know how to do that if i dont know my old password. Any one got any advice for a newbie?

    Thanks :)

  2. Kaajinsh says:

    fallowing thous instruction, get stuck – when i got to ” “root – Drop to root shell prompt“. and then there is sayd something – i can’ t write there enything in, like keybord didnt working :(

  3. Alma says:

    I can’t find the recovery menu. Nothing happens with Shift and with Esc I am able to enter BIOS, but at no stage am I able to show the GRUB.

Leave a Reply