User account locking not working in Pam
I am facing another problem while configuring the system-auth file for setting user account locking after 3 fail attempts. But this configuration is not working means user are able to login still after 3 fail logins. Below are the configuration parameter which I have edited:
I have also tried this parameters which I got from http://www.puschitz.com/SecuringLinu...eckingAccounts but no success.
auth required pam_tally.so no_magic_root
account required pam_tally.so deny=3 no_magic_root lock_time=180
Please guide where is the issue. Any alternate to achieve the user account locking system.
auth required /lib/security/$ISA/pam_tally.so onerr=fail no_magic_root
account required /lib/security/$ISA/pam_tally.so per_user deny=5 no_magic_root reset
Thanks & Regards