I have a major problem with a fedora distribution (17). I don't know how to set up /etc/pam.d/system-auth in order to ban a user after he/she writes the password wrong (3 times)
I have read numerous different additions to this file that achieves this (all are about the same) but they dont work.
For example, I added these lines:
auth required pam_tally.so onerr=fail deny=3 unlock_time=40
But the random user that I created can try his password numerous times without a warning , nothing.
How am I supposed to fix this? Does anyone have a suggestion?