added line for rkhunter to first update when installed.
This commit is contained in:
parent
b76c9330c5
commit
7f89d7cb82
|
@ -132,6 +132,7 @@ cd ..
|
||||||
rm -rf rkhunter*
|
rm -rf rkhunter*
|
||||||
cp conf/rkhunter/rkhunter.conf /etc/rkhunter.conf.local
|
cp conf/rkhunter/rkhunter.conf /etc/rkhunter.conf.local
|
||||||
sed -i '/APT_AUTOGEN="false"/c\APT_AUTOGEN="yes"' /etc/default/rkhunter
|
sed -i '/APT_AUTOGEN="false"/c\APT_AUTOGEN="yes"' /etc/default/rkhunter
|
||||||
|
rkhunter --update
|
||||||
rkhunter --propupd
|
rkhunter --propupd
|
||||||
(crontab -l 2>/dev/null; echo "15 04 * * * /usr/bin/rkhunter --cronjob --update --quiet
|
(crontab -l 2>/dev/null; echo "15 04 * * * /usr/bin/rkhunter --cronjob --update --quiet
|
||||||
")| crontab -
|
")| crontab -
|
||||||
|
|
Loading…
Reference in New Issue