Bugzilla – Bug 132683
rkhunter cron.daily script spams root user
Last modified: 2005-12-01 16:44:54 UTC
The /etc/cron.daily/01-rkhunter script, as installed by rkhunter-1.2.7-5, spams the root user's mailbox. It should 1. use the --quiet option so we only see non-OK output 2. only send a mail if there is anything to report at all (this can easily be achieved by using MAIL-ON-WARNING in /etc/rkhunter.conf to mail rather than pipelining console output into /bin/mail even if it's empty)
i did both suggestions for the next release. thanks!