How to RECOVER your UBUNTU PASSWORD 10.04 10.10

If you have forgotten your Ubuntu 10.04 or 10.10 password, then here is a way to reset or recover superuser password, provided you have physical access to reboot the system. All you need to do is just reboot the system and then follow these instructions.

Before the Ubuntu splash screen, a GRUB menu appears with different mode of booting the Ubuntu Linux. We can follow two ways to reset the password starting from the grub menu.

Method #1 (easy)

After rebooting our system, you will find Ubuntu, Linux (recover mode), as second option on GRUB menu. Boot the system in recovery mode. 

ubuntu password recovery

Once you boot the system Recovery Menu will appear, now select  "Drop to root shell prompt " ( with or without networking)" and press ->enter key, it will take you to shell prompt with root access.

Ubuntu password recovery

 

In command line Type 

passwd username  //command to reset your password.

Type your new password for the username and then press enter.

Sync   //if necessary

reboot -f //command to reboot the system

Ubuntu 10.10 password recovery

 

 

Method #2 (Advance)

After rebooting our system, hold on to first option i.e. default on the grub menu (Ubuntu, Linux 2.-- Generic) and then Press "e" to edit.

ubuntu password recovery

 

Look out for line that contains "ro quiet splash" and move the cursor using arrow keys and go to that line, simply replace "ro quiet splash" with "rw init=/bin/bash" without double quotes and then use CTRL + X to boot the system. 

ubuntu password recovery

ubuntu password recovery

Now your system will boot to root shell.

In command line Type 

passwd username  //command to reset your password.

Type your new password for the username and then press enter.

# Sync

reboot -f //command to reboot the system

ubuntu 10.10 password recovery grub 2

Ubuntu cheers

Reboot the system normally and at the login screen enter the new password, it will allow you to login  That's it, you have recovered your system user password successfully. If you still find it difficult then post your query in bOtskOOl Forum, our geeks will be glad to help you out. Cheers 

Tags: