Update rkhunter paths
This commit is contained in:
parent
dee8018ca2
commit
9e1cdcb6d3
10
rkhunter.sh
10
rkhunter.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user