So I recently setup denyhosts
for my personal server, and it's working fine, except for the fact that it seems to be processing every single cron session, rather than just external accesses.
End result is that /var/log/auth.log
is full of entries such as:
Feb 26 06:31:01 webhost CRON[11899]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 26 06:31:01 webhost CRON[11899]: pam_unix(cron:session): session closed for user root
Is there a way to have denyhosts either ignore these, or at least not log them? They just fill up the log file and make it harder to spot items of interest, especially since I have a cron-task that needs to run very frequently.
I'm using the default configuration as provided by apt-get install denyhosts
on Ubuntu Server 16.04.