From 933668f156a5cd35907ab719189c43040147aef5 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Sun, 26 Jun 2016 12:57:54 -0400 Subject: [PATCH] had rkhunter --propupd run before configs were changed. Fixed for #869, also added a crontab for RKHunter to automatically run daily at 4:15AM --- setup/system.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/system.sh b/setup/system.sh index 0fc07937..57d6aec2 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -121,6 +121,7 @@ apt_install python3 python3-dev python3-pip \ # Add Rootkit hunter # I have it install and then update to install dependencies and such +# It adds a crontab to check daily at 4:15AM # Added by Alon "Chief Gyk" Ganon apt_install rkhunter binutils libreadline5 ruby ruby1.9.1 unhide.rb wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz @@ -132,6 +133,8 @@ rm -rf rkhunter* cp conf/rkhunter/rkhunter.conf /etc/rkhunter.conf sed -i '/APT_AUTOGEN="false"/c\APT_AUTOGEN="yes"' /etc/default/rkhunter rkhunter --propupd +(crontab -l 2>/dev/null; echo "15 04 * * * /usr/bin/rkhunter --cronjob --update --quiet +")| crontab -