D
Deleted member 148307
Guest
Rkhunter is a very useful tool that is used to check for trojans, rootkits, and other security problems so if you use this tool, your acc will be safe.
1. Download Rkhunter from the below link:
2. Untar the installation file using the below command:
3. Go to Rkhunter using the below command:
Just type ls and you will get the name of rkhunter directory.
4. Install it using the following command:
5. Now you can run it manually using the below command:
6. Next setup in daily cron to run it automatically. To add it in daily cron follow the below steps:
7. Now add the following line:
8. rkhunter.sh file should have execute permission:
1. Download Rkhunter from the below link:
Code:
http://sourceforge.net/projects/rkhunter/
2. Untar the installation file using the below command:
Code:
tar -zxvf downloaded_file_name
3. Go to Rkhunter using the below command:
Code:
cd rkhunter-version_number
4. Install it using the following command:
Code:
./installer.sh
5. Now you can run it manually using the below command:
Code:
/usr/local/bin/rkhunter -c
6. Next setup in daily cron to run it automatically. To add it in daily cron follow the below steps:
Code:
pico /etc/cron.daily/rkhunter.sh
7. Now add the following line:
Code:
#!/bin/bash
(/usr/local/bin/rkhunter -c --cronjob 2>&1 | mail -s "Rkhunter Report" [email protected])
8. rkhunter.sh file should have execute permission:
Code:
chmod +x /etc/cron.daily/rkhunter.sh