This article will help you to recover forgot admin users password.
- Reboot the System.
- Press Shift key to get into Grub Menu.
-
Select Tiguin, with Linux (recovery mode) and press enter.
- Select "Drop to Root Shell" and press enter.
-
Type following command and press enter:-
- mount -o remount,rw /
- If you have forgetted admin user name then use the following command to indetify user:-
- ls /home/
-
I have created only enjay user so its showing here.
-
Enter the following command for reset password
- passwd <admin-user-name>
- Set the new password then reboot the systaem.