mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-01 02:17:22 +02:00
comment
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user