mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
comment
This commit is contained in:
parent
caf99119f1
commit
af5e7ff626
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user