a/c

Greg Wojcieszczuk greg at unixos.org
Thu May 19 19:53:15 UTC 2011


Hi,
Have a look at pam_tally2. There is an option there (even_deny_root)
which if NOT used will practically prevent root account fro being locked up.

Read pam_tally2 (man) for more details.

Kind regards,
Greg Wojcieszczuk



On 05/19/2011 07:38 PM, Adam Miller wrote:
> On Thu, May 19, 2011 at 02:31:07PM -0400, Ben wrote:
>> On Thu, 2011-05-19 at 23:26 +0530, Raj Har wrote:
>>
>>> Hello All,
>>>               i want to disable user after 3 attempts for particular time
>>> period.
>>> i have done this with the help of PAM but in this situation root also
>>> disabled for particular time period. i don`t wanna do this for root user.
>>> i hope u will give me some suggestion.
>>>
>>> thanks
>>
>> Have a look at fail2ban.  Works for me.
> You might also take a look at the iptables recent module:
>
> http://www.stearns.org/doc/adaptive-firewalls.current.html
>
> Other articles exist for it as well and I'm sure some google-fu will get
> you there.
>
> -AdamM
>




More information about the redhat-list mailing list