0

I have two user accounts and forgot one user's password. I have tried to reset it from the boot menu. After selecting recovery mode I have selected Drop to root shell prompt option but then it asked me to "give the root password for maintenance(or type control-D to continue)" don't know the password and even typing control-D doesn't work

What should I do now??

Please give me a solution

A J
  • 11,557

1 Answers1

0

Login with the user where you still know the password. Open a terminal and get a root shell, e.g. sudo -i.

Then change the password for the user you don't know the password:

passwd username

Replace username with the name of your user.

Afterwards close the the root shell with Strg+D and test with su - username the new password.

Fabz
  • 21