made rkhunter create a local file per suggestions

This commit is contained in:
ChiefGyk 2016-06-27 04:10:39 -04:00
parent 3701676304
commit 5265839681
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ cd rkhunter*
./installer.sh --layout /usr --install ./installer.sh --layout /usr --install
cd .. cd ..
rm -rf rkhunter* rm -rf rkhunter*
cp conf/rkhunter/rkhunter.conf /etc/rkhunter.conf 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 --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