Tuesday, 11 October 2016

Root user password reset in Ubuntu

You can reset your root / user password if not able to login to your Desktop. Follow below steps and you will be able to login easily.

Step 1 : While booting press and hold shift key.  You will get a screen as below.


Step 2: Select Linux recovery mode and hit enter, you will get a screen as below. 


Step 3: Scroll and select root drop to root shell prompt option then you will  see a shell screen in the bottom.


Step 4: You have to mount your drives so now type in the shell as
mount –o rw,remount /
step 5 : Now if you want to know the users in this computer type
ls /home
step 6 : It will show the list of users in computer. now for example if you want to reset the passwd of  susan user, then type as
passwd susan (i.e, passwd username)


step 7 : Now it will ask for a new unix password, enter the required passwd.
Step 8: Again retype the passwd.
Step 9 : Now you have successfully changed your password. So type exit. It will take you to the screen as below.
Step 10 : Select resume so that your computer reboots.


Note: Some computer does not go back to GUI mode, don’t worry just restart your system once. It will be fine.



 PASSWORD RESET DONE!!!

No comments:

Post a Comment