I am trying to modify the recommended cPanel daily ClamAV cron scan found here Configure ClamAV Scanner - Version 70 Documentation - cPanel Documentation. I would like to adjust it to remove or destroy any files with viruses found. Do I just need to add the -remove tag?
Should I quarantine files instead? I am afraid they will just build up that way. does ClamAV normally have a lot of false positives?
I have about 80 client domains on my server. Any advice is appreciated.
Code:
while read domain user; do /usr/local/cpanel/3rdparty/bin/clamscan -i -r -remove /home/"$user" 2>&1; done </etc/trueuserdomains >>/root/infections.txt
I have about 80 client domains on my server. Any advice is appreciated.