First download dan install repo rpmforge
wget
[You must be registered and logged in to see this link.]rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm
then
yum install rkhunter
initial scan
rkhunter --proupd
rkhunter -c
create file untuk cron
vi rkhunter.sh; chmod rkhunter.sh
masukan script ini
-------- START --------------
rkhunter --update
sleep 60
rkhunter --checkall --cronjob --skip-keypress
cat /var/log/rkhunter.log | mail -s "Daily rkhunter scan report"
[You must be registered and logged in to see this link.]-------- EOF ---------------
untuk eksekusi otomatis menggunakan cron
vi /etc/crontab
00 1 * * * root /bin/sh /home/rkhunter.sh
Untuk mengecek silahkan liat mail di sisi servernya.