Hello

2009/12/28  <[email protected]>:
> Unfortunately, now I can't unban him.
> I go to /etc/hosts.deny, delete the entry, but a few seconds later denyhosts
> rebanns him.


I made the following script to unban someone:

#!/bin/bash

rcdenyhosts stop
cd /var/lib/denyhosts
sed -i "/$1/d" *
cd /etc
sed -i "/$1/d" hosts.deny
rcdenyhosts start


That is for suse, I guess, it would work similar on other distros.

Greets
Marcel

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to