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 a dual booted version they automatically get into GRUB.

Highlight your image of Ubuntu and press E to edit the 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.


Congratulations you are back to Ubuntu 🙂