I'm trying to configure my denyhosts on my server and I read in it's FAQ's entry on How can I prevent a legitimate IP address from being blocked by DenyHosts? that I have to move to WORK_DIR
.
I don't know where WORK_DIR
is? Does anyone know where is it?
Also I added my IP to hosts.allow like this:
ALL: 12.345.467.89
Is it enough?
Thank You
Best Answer
WORK_DIR is a variable that is defined in your
denyhosts.cfg
.Default values I have seen are:
/usr/share/denyhosts/data
./var/lib/denyhosts
.Check your
denyhosts.cfg
to be certain but it's probably one of those two.[edit] On Ubuntu 14.04 you should look in the file /etc/denyhosts.conf