denyhosts won't automatically startup (Fedora 12)
Hi all,
I have recently installed denyhosts to help guard against bruteforce ssh attacks on my Fedora 12 server from the Fedora repositories. If I manually start denyhosts (as root) using:
/usr/sbin/denyhosts.py --daemon
it works fine. The denyhosts log file is created and indeed the /etc/hosts.deny file is updated. However if I make attempts to start denyhosts automatically upon the server restart denyhost fails with a permission denied error for /etc/hosts.deny (error 13)
I have tried using chkconfig to enable /etc/init.d/denyhosts on run levels 3, 4 and 5. I have also tried including the line:
/usr/sbin/denyhosts.py --daemon
in /etc/rc.local Both of these attepts report the same error. Can anyone suggest a way to automatically start denyhosts or know why this problem might be happening?
|