I am trying to play around with PAM.

To start with, i am working with pam_tally module.

I added following line at the top in common-auth file in /etc/pam.d/

auth required pam_tally.so deny=3

After that i logged out.

Now when i try to login, access is denied even though password i enter is correct.

I edit common-auth file again using root account to remove the above mentioned line and i am able to login again.

Not able to understand why i am denied login after editing common-auth file even if password i enter is correct.

Please help

  • I had a very similar problem, and haven't gotten any help. Did you ever figure it out? – betseyb May 13 '15 at 17:45

I don't know why it happened, but I solved my similar issue by removing deny=3 and using sudo faillog -m 3 instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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