Update rkhunter paths

This commit is contained in:
Matthew McKinnon 2016-11-03 21:55:55 +10:00
parent dee8018ca2
commit 9e1cdcb6d3

View File

@ -8,8 +8,10 @@ MAILTO="support@comprofix.com"
SMTP=mail.comprofix.com
THISSERVER=$(hostname -f)
MAILFROM="support@comprofix.com"
SENDEMAIL=$(which sendemail)
(
/usr/bin/rkhunter --versioncheck --nocolors
/usr/bin/rkhunter --update --nocolors
/usr/bin/rkhunter --cronjob --report-warnings-only --nocolors
) | /usr/bin/sendemail -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Daily Log $THISSERVER" -q
rkhunter --versioncheck --nocolors
rkhunter --update --nocolors
rkhunter --cronjob --rwo
) | $SENDEMAIL -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Log $THISSERVER" -q