Monday, 9 January 2012

Have you forgotten your password in ubuntu??????

Have you forgotten your login password in ubuntu???  Many times we forgot passwords either because of too many passwords in our life and we can't keep track of them all or we just installed Ubuntu and forgot what password we selected during the installation process.


Well, this tutorial will help you reset your Ubuntu user account password, regardless of what reason you have for resetting it.
First, you have to reboot into recovery mode.

If you have a single-boot (Ubuntu is the only operating system on your computer), to get the boot menu to show, you have to hold down the Shift key during bootup.

Now from the boot menu select recovery mode Which is second option in boot menu.





 When you click recovery mode, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.
The root account is the ultimate administrator and can do anything to the Ubuntu installation (including erase it), so please be careful with what commands you enter in the root terminal.



Once you're at the root shell prompt, if you have forgotten your username as well, type

root@ubuntu:~$ls /home

This will show you all the users in your ubuntu, so that you can choose particular user whose password you want to change. type

root@ubuntu:~$passwd username

Now you will be asked to enter password, just enter desired Password and confirm it by retyping it and you are done with changing your password.

Now type exit in the terminal to move back to recovery menu and here choose resume manual boot.

No comments:

Post a Comment