Changing Ubuntu’s password

Hello folks, usually we should keep a perfect password for our computer which will safer, secure and easy to remember. But it happens sometimes that you forget your password. This blog will no more offend for forgetting ubuntu’s password. 🙂

 

Very first thing you need to do is **reboot your computer**

Hold shift key to get into GRUB, for dual booted version they automatically get into GRUB.

Highlight your image of Ubuntu and press E to edit image.

Find out the line starting with linux and at the end of the line Type this command -> rw init=/bin/bash

Then press F10 or ctrl + x to boot and wait for sometime, if it comes as a blank page with a blinking underscore then do all above steps again.

Hope it worked till now …….

Now you get into root mode and type passwd <your username>

You will get an option to enter a new UNIX password, enter your new password and press enter.

REBOOT YOUR SYSTEM 🙂

Congratulations your are back to ubuntu 🙂