I know similar questions have already been asked here, but they all seem to be different from my problem.
After a power outage I cannot login locally with my main user. I can ssh into it with the same credentials.
Locally I can login as any other user but not the one that was logged in at the time of the power-down.
When I type in my password at the login screen I just get referred back to the login screen.
If I deliberately type in a wrong password I get a "wrong password" message.
But with the correct password I cannot get past the login screen.
How can I fix this?