On 5/28/06, Chuck Bunn <[EMAIL PROTECTED]> wrote:

Hi,

What is the difference between clamd, clamdscan and clamscan and which
one should be used on a file server. (Centos 4.3)


Hey Chuck,

I don't know what to you but I am using clamscan and the script I am using
for scanning my filesystem everyday at nite is below:

schedule this script with cron

#!/bin/sh


### fix log file if needed
LOG_FILE="/var/log/clamav/scan.log"
if [ ! -f "$LOG_FILE" ]; then
   touch "$LOG_FILE"
   chmod 644 "$LOG_FILE"
   chown clamav.clamav "$LOG_FILE"
fi

/usr/bin/clamscan -r /root /usr /var /home /tmp \
   --quiet \
   --log="$LOG_FILE" \
   --log-verbose \
   --move=/var/log/infected \


Regards

Ankush Grover
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to