serverscripts/rkhunter.sh
Matthew McKinnon 2cda37ccc8 Updated script descriptions
Updated email address in scripts
Removed squidguard-blacklists.sh
2016-06-07 20:42:19 +10:00

16 lines
523 B
Bash
Executable File

#!/bin/bash
# Script Name: rkhunter
# Author: Matt McKinnon
# Date: 7th June 2016
# Description:
# This script will email a logwatch report
MAILTO="support@comprofix.com"
SMTP=mail.comprofix.com
THISSERVER=$(hostname -f)
MAILFROM="support@comprofix.com"
(
/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