0

When I logged in today on my laptop and tried to do something it asked me for my password. So i typed in my password and it keeps on saying that It's invalid. I know for sure I didn't change it. Is there any way to change it or make it work without loosing any data from my laptop ? How do I reset a lost password? doesn't work for me. please any one suggest how to make it work without loosing any data because if any data are remove my research work are totally stop .

  • Stupid question but: Have you checked Num Lock, Caps Lock etc., Keyboard language settings? Moreover, is your home partition encrypted or not. If yes, better remember that password.... – Bruni Mar 28 '16 at 06:38
  • Just in case, you do have an encryptfs encrypted home, read the answer to this https://askubuntu.com/questions/120206/encrypted-home-forgotten-password-but-no-passphrase question – Bruni Mar 28 '16 at 08:09

1 Answers1

0

Boot your machine into Recovery mode and choose root like explained here, then remount your hardisk to read/write access then you can use passwd to set a new password for your user. Just be aware not to change the root password in this console. Also look here for more about this problem.

Videonauth
  • 33,355
  • 17
  • 105
  • 120