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
|
SMTP=mail.comprofix.com
|
||||||
THISSERVER=$(hostname -f)
|
THISSERVER=$(hostname -f)
|
||||||
MAILFROM="support@comprofix.com"
|
MAILFROM="support@comprofix.com"
|
||||||
|
SENDEMAIL=$(which sendemail)
|
||||||
|
|
||||||
(
|
(
|
||||||
/usr/bin/rkhunter --versioncheck --nocolors
|
rkhunter --versioncheck --nocolors
|
||||||
/usr/bin/rkhunter --update --nocolors
|
rkhunter --update --nocolors
|
||||||
/usr/bin/rkhunter --cronjob --report-warnings-only --nocolors
|
rkhunter --cronjob --rwo
|
||||||
) | /usr/bin/sendemail -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Daily Log $THISSERVER" -q
|
) | $SENDEMAIL -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Log $THISSERVER" -q
|
||||||
|
Loading…
Reference in New Issue
Block a user