--allusers Weekly scan without user notifications
Posted: 16 Feb 2018, 12:57
Hello,
I need a weekly scan with notification to my email, but not email notifications for cPanel users. For this I am using this cron and this template:
cat /etc/cron.weekly/cxs_complete_weekly
cat /etc/cxs/cxs.template.weekly
The problem is that hfile and hdir in cxs.ignore are not taken in account because I am not using --allusers. If I use --allusers all my users will get email notifications, I do not want this.
Is there any way to use --allusers and not send email notifications to users?
Regards
I need a weekly scan with notification to my email, but not email notifications for cPanel users. For this I am using this cron and this template:
cat /etc/cron.weekly/cxs_complete_weekly
Code: Select all
/usr/sbin/cxs --nosversionscan --bayes --breport high --options -wW \
--Wmaxchild 3 --Wloglevel 0 --Wsleep 3 --filemax 0 --Wrateignore 300 \
-Q /home/quarantine -I /etc/cxs/cxs.ignore --xtra /etc/cxs/cxs.xtra \
--prenice 20 --pionice 7 \
--mail yorodriguez@example.com --template /etc/cxs/cxs.template.weekly \
--report /var/log/cxs_weekly_scan.log /home/
Code: Select all
From: [from]
To: yorodriguez@example.com
Subject: Weekly cxs Scan on [hostname] (Hits:[hits]) (Viruses:[viruses]) (Fingerprints:[fingerprints])
Time : [time]
The following has been reported by the ConfigServer eXploit Scanner running on [hostname]:
[text]
Is there any way to use --allusers and not send email notifications to users?
Regards