0

When I try to login in Ubuntu 16.04 with a valid password an error message is shown an screen saying invalid password, try again. I try to submit the password with no success, then I click on guest account after that I logged out and when I try to login again the same message is shown but the login was successful.

Can someone explain me how this why occurs and how to solve it?

Kenly
  • 101
  • Is this a brand new installation, and you've never been able to log in, or is this an existing installation where you have been able to log in before? Please see Why do I keep getting “invalid password” when trying to log in?, as your question might possibly be a duplicate of this one, and there are a lot of suggestions that might help you. – Hee Jin May 02 '18 at 17:34
  • Thank you @Emily for your reply. This is an old installation and I saw the suggestions then I reset the password from grub, but the password is always invalid (I used a very simple password). – Kenly May 03 '18 at 07:57

1 Answers1

0

I solved it by resetting /etc/shadow file permissions which were altered by root.

Kenly
  • 101