• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Protect your server against backdoors, rootkits and other security problems

  • Thread starter Deleted member 148307
  • Start date
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:
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
Just type ls and you will get the name of rkhunter directory.

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
 
Back
Top