How to enable virus scanning for files
Viruses for Linux based systems are not very widely spread so there is usually no need to protect Linux systems against viruses.
But as most desktop systems are running on Windows it you might to consider scanning all files Windows system store on the UCS server.
Step 2a (for general UCS)
Enable scanning for desired directories at preferred time:
echo "30 23 * * * clamdscan -v /home" >> /etc/cron.d/clamdscan
This will enable scanning daily at 23:30 for all files in the
/home directory. Add additonal times and / or directories similar to the above command.
Step 2b (for UCS@school)
If you want to scan User-Homes you have to use
clamscan to have proper permissions. To archive this create
/etc/cron.d/clamscan with similar content as follows
30 23 * * * clamscan -rio /home/ >>/var/log/clamav/scan_home.log 0 0 * * * clamscan -rio /shares/users >>/var/log/clamav/scan_usrshares.log
This will enable scanning daily at 23:30 and 0:00 for all files in the
/home directory and
/shares/users directory. Add additonal times and / or directories similar to the above command.