Hi

I am trying to schedule a cron job to scan files and if a virus is
noticed to log that via syslog so it can be sent to a remote syslog
server.

I have successfully done this by using clamd and clamdscan however the
logs show:

Mar  9 17:45:04 server1 clamd[26200]: fd[12]: Eicar-Test-Signature FOUND

I am assuming that the fd[12] is because I used:

clamdscan --fdpass --infected --quiet

I would prefer to get the file name in the logs but I had to pass
--fdpass as the option so clamd would scan files that it did not have
permission to scan.

Should I approach this in a different way like using clamscan instead?
 It does not look like clamscan can write to syslog but I could be
wrong.

Tim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to