1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00
This commit is contained in:
KiekerJan 2021-04-30 22:37:03 +02:00
parent caf99119f1
commit af5e7ff626

View File

@ -38,6 +38,7 @@ tools/editconf.py /etc/rkhunter.conf \
WEB_CMD='""' \ WEB_CMD='""' \
ALLOWHIDDENDIR=/etc/.java ALLOWHIDDENDIR=/etc/.java
# Check presence of whitelist
if ! grep -Fxq "SCRIPTWHITELIST=/usr/local/bin/mail" /etc/rkhunter.conf > /dev/null; then if ! grep -Fxq "SCRIPTWHITELIST=/usr/local/bin/mail" /etc/rkhunter.conf > /dev/null; then
echo "SCRIPTWHITELIST=/usr/local/bin/mail" >> /etc/rkhunter.conf echo "SCRIPTWHITELIST=/usr/local/bin/mail" >> /etc/rkhunter.conf
fi fi
@ -54,4 +55,3 @@ tools/editconf.py /etc/chkrootkit.conf \
# Should be last, update expected output # Should be last, update expected output
rkhunter --propupd rkhunter --propupd
chkrootkit -q > /var/log/chkrootkit/log.expected chkrootkit -q > /var/log/chkrootkit/log.expected