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:
1. Start your computer.
2. In the Grub Menu which appears by default when you start your computer, Select “Advanced options for Ubuntu”
3. In the next screen, Select “Ubuntu, with Linux 3.11.0-13-generic (recovery mode)“.
4. Now You will be shown the recovery menu. In the recovery menu Select “root – Drop to root shell prompt“.
5. 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.
6. Next, Type the following command in the command prompt to mount with permissions.
mount -rw -o remount /
7. 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:
8. It will now prompt you for a new password:
Enter new UNIX Password: Retype new UNIX Password:
9. After Entering and retyping the new password in the command prompt, It will show the following message:
Passwd:Password updated successfully
10. 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.