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:
Other articles exist for it as well and I'm sure some google-fu will get
redhat-list mailing list