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
Author Widget
Advertisement
Latest Blog
Categories
- aws
- Basic Linux
- Blogger
- Computer
- cPanel
- DDOS
- Drupal
- Economy
- Email Marketing Series
- Email problems
- Entertainment
- Error and solution
- Fashion
- Featured
- Food
- ftp issues
- How to
- htaccess
- Installation
- Joomla
- Knowledge
- Linux Commands
- magento
- ModSecurity
- mysql
- Nature
- Network
- PHP
- Plesk
- Questions And Answers
- ruby and rails
- security
- Shell Programming and Scripting
- Sports
- Technology
- Tomcat
- Travel
- Uncategorized
- Wordpress