October
22nd,
2012
HOWTO INSTALL RKHUNTER (QUICK GUIDE)
- Download the later rkhunger version from sf.net: http://sourceforge.net/projects/rkhunter/
- shell# tar -zxvf tar -zxvf rkhunter-1.4.0.tar.gz
- shell# cd rkhunter-1.4.0
- shell# ./installer.sh –layout default –install
- shell# /usr/local/bin/rkhunter –update
- shell# /usr/local/bin/rkhunter –propupd
- shell# vi /etc/cron.daily/rkhunter.sh
8: Add the following configuration to rkhunter.sh cron script:
-=-=- cut -=-=-
#!/bin/sh
(
/usr/local/bin/rkhunter –versioncheck
/usr/local/bin/rkhunter –update
/usr/local/bin/rkhunter –cronjob –report-warnings-only
| /bin/mail -s ‘rkhunter Daily Run (PutYourServerNameHere)’ your@email.here
-=-=- end -=-=-
- chmod 700 /etc/cron.daily/rkhunter.sh
- You’re good to go