LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to lock user after 3 attempt (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-lock-user-after-3-attempt-946250/)

kulshreshtha007 05-22-2012 02:44 AM

how to lock user after 3 attempt
 
Hi I am using the RHEL5. I want user lock after 3 consecutive attempt of wrong password. I have made the entry in /etc/pam.d/system-auth is

auth required pam_tally.so onerr=fail deny=3
auth required pam_tally.so reset

But this is not working. can anybody help me to solve this issue.

bigrigdriver 05-22-2012 06:43 AM

This might help:
http://www.cyberciti.biz/tips/rhel-c...led-login.html


All times are GMT -5. The time now is 10:24 PM.