Forgotten administrative password
Mia Lopez
I have forgotten the administrative password on my laptop. I have tried booting into recovery mode as suggested but I don't get the menu where I can use the cursors to select recovery mode. All I get is a line of writing sayingS:
gnu grub version 2.02 beta2-36ubuntu3.14What am I doing wrong.
41 Answer
If you remember your admin user password You could login as a root user without knowing root user password using:
Open terminal and input the next:
sudo - su
or
sudo -i
When logged in as root with one of the above commands, you could change its password by command:
passwdAdmin user, but not root means that this user is a member of sudo group and could execute privileged commands using its own password, not root's.