0

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?

1 Answer 1

1

Ok, i found the answer myself, sorry for the spam ;-)

In any case if someone else got the same problem, here is what fixed it:

the permissions for the users home folder were all set to d--------- for that user. After setting them back to something usefull with

find /home/username -type d -exec chmod 755 {} \;

and

find /home/username -type f -exec chmod 644 {} \;

everything is working fine again...

One question remains though, how could a power outage possibly cause this problem?????

4
  • 1
    A possible reason could be the data to be written by a program were still in the buffer, so after power outage the file system hierarchy starts to behave abnormally.
    – heemayl
    Jan 23, 2015 at 9:18
  • ok, thanks for the answer, sounds reasonable... Jan 23, 2015 at 9:21
  • Don't forget to mark your answer as the answer to your question so that others can be aware that the issue has been resolved.
    – heemayl
    Jan 23, 2015 at 9:23
  • "you can accept your own answer in 2 days"... so i will come back and do so on monday :-) Jan 23, 2015 at 9:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .