There are so many reasons you might want to reset a Ubuntu password:
- Someone gave you a computer with ubuntu installed but not the password.
- You just installed Ubuntu and forget the password during installation or some of your friends forget the password.
Step1:
First you have to reboot your system.
Step2:
Hold down the shift key during bootup.
Step3:
From the boot menu, select the (2nd Option) recovery mode.
First you have to reboot your system.
Step2:
Hold down the shift key during bootup.
Step3:
From the boot menu, select the (2nd Option) recovery mode.
Step4:
After you select recovery mode and wait for all the bootup processes to finish.
Step5:
After you select recovery mode and wait for all the bootup processes to finish.
Step5:
After the following screen opens select the root Drop to root shell prompt
& press ok.After selecting root option the root shell prompt
will be open below.Now the file system state is read only mode.We have
to change read,write mode in order to change password.
Step6:
To list the user currently present in the system type the $ls /home command to list usernames.
Step7:
After listing select the username that you want change the password.In my case i am going to change the password for username dinesh.
Step6:
To list the user currently present in the system type the $ls /home command to list usernames.
Step7:
After listing select the username that you want change the password.In my case i am going to change the password for username dinesh.
root@ubuntu:~#mount -o rw,remount /
(make sure that you have to give space after remount in the above command)
root@ubuntu:~#ls /home
root@ubuntu:~#passwd dinesh
root@ubuntu:~#exit
Step 8:
After you get back to the recovery menu, select resume normal boot.Then use the password whatever you changed for the particular username.Crack it!!!!!!!!!
If you have any doubts post the comments here.