Reset Forgotten password in UbuntuI was recently given a laptop with Ubuntu on it, but they forgot the password. Here is how to reset a forgotten password in Ubuntu.

When the computer starts booting, press the [Esc] key. This will show you the boot menu. Use the Up /Down arrow keys to select Recovery Mode, then wait for the computer to completely boot up. You will get a command prompt, and you will be an administrator.

If you aren't sure of your username, just do a directory of the /home folder, and you will see all of the registered users on the computer. Once you know the username, now  its just a simple matter of executing the following command: passwd username where username is your username you will login under. You will be prompted for a password, so just enter a password that you want. It won't echo back what you are typing, so don't worry. You will be asked to confirm by re-typing your password.

Now you are ready to reboot with your reset password. to do this, just type exit, and select resume normal boot. After it finishes booting, just enter the password that you reset it to, and you are in!

This article was originally posted on www.mikestechblog.com Any reproduction on any other site is prohibited and a violation of copyright laws.