![]() |
where to set maximum login retries and automatically lock users
Hi,
I am using CentOS 4.4. How can I set automatic locking of password after 3 times login failure? Thanks. |
Quote:
http://www.cyberciti.biz/tips/lock-u...-attempts.html |
Quote:
|
TBOne,
Should I have PAM enabled first? Is this a service that I need to incorporate with sshd? Thanks. rweaver, This is for compliance with our Audit. Thanks also. |
HOPE THIS HELPS.
If failed login attempt 5 times then account will be locked and the unlock time will be 60 secs. Code:
** Account auto unlock option is available in later versions of RHEL-4 Update 2. It has to be done manually. |
Thanks everyone. Its working now.
|
Actually .. having unlock_time using tally.so depends on what version of pam you're using..
In RHEL4, it is tally2.so that has unlock_time Also, if using traditional / older version make sure you use no_magic_root ... read the man pages on pam to make sure you don't leave your machine unusable |
All times are GMT -5. The time now is 12:26 AM. |