forgot password ubuntu 15.05

Reboot your computer.

Hold Shift during boot to start GRUB menu.

Highlight your image and press E to edit.

Find the line which starts with "linux". Navigate to the end of the line and add:

ro init=/bin/bash



Once you have changed boot options as indicated in the previous step press F10 to instruct your Ubuntu system to boot. Your system will boot and you will be provided with root command line prompt.

Once you get to the command line prompt enter the following commands:

root@ubuntu:~# mount -o remount,rw /
root@ubuntu:~# passwd username
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@ubuntu:~# reboot -f






enjoy..............................

Comments

Popular posts from this blog

How to solve: Geany tried to access the Unix Domain socket of another instance running as another user. This is a fatal error and Geany will now quit?