mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +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