0

Running Ubuntu 18.04 Server, it seems pam will change the ownership of ~/.google_authenticator on login to root:USER

This means next time I try to login, I will be rejected. Changing the ownership of ~/.google_authenticator to USER:USER enables login again. Logging in with public key does not change the ownership.

Why is this happening and how can I avoid it.

closed as off-topic by user68186, Thomas Ward Feb 21 at 21:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – user68186, Thomas Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

0

Ok, it was not pam or google_authenticator that was the problem. My nfs mounted home directory got an updated configuration when upgrading to 18.04 that mapped all users to root.

Not the answer you're looking for? Browse other questions tagged or ask your own question.