>>>>> "KL" == Karl Lindholm <[EMAIL PROTECTED]> writes:

KL> OK, I have it running, and seems to be doing a great job of
KL> blocking miscreants, but how do I go about trimming/archiving the
KL> denyhosts log file?

The Fedora package includes this logrotate file:

/var/log/denyhosts {
    missingok
    notifempty
    size 100k
    create 0644 root root
    postrotate
        /sbin/service denyhosts condrestart > /dev/null 2>&1 || :
    endscript

}

 - J<

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to