IndianWebPortal.com

Something Different In Linux

Home » Network » RKHunter Cronjob

RKHunter Cronjob

Posted by Rishikesh Vispute Categories: Network

RKHunter Cronjob

Ans> To set the cron job to receive the daily scan report

pico /etc/cron.daily/rkhunter.sh

Add the following line in above file

#!/bin/bash
(/usr/local/bin/rkhunter -c –cronjob 2>&1 | mail -s “Daily Rkhunter Scan Report” supp0rt24x7@gmail.com)

chmod +x /etc/cron.daily/rkhunter.sh

Thanks

Comments are closed.

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...