How to Reset Ubuntu Password When I Forgot My Password?

How to Reset the Password for Ubuntu 14 and Ubuntu 16
1, Restart your Ubuntu.
2, Press ”ESC” button continuously until the BIOS shows the Ubuntu GNU GRUB menu.
3. Select ”Advance options for Ubuntu” via the down arrow key and then press “Enter” button.
4, Then you will go to the advanced options menu. Select “recovery mode” and press “e” key. Do not press ”Enter” key.
5, Replace “ro recovery nomodeset” with “rw init=/bin/bash”
6, Press “Ctrl+X” to boot, then type “passwd administrator”
7, Type your new password and confirm it.
8, Reboot your Ubuntu.

Add Feedback