On Dec 23, 2009, at 10:38 AM, Lima Union wrote:


Ok, thanks. From the man page:

(4) To scan from standard input:

             clamdscan - <file_to_scan cat file_to_scan | clamdscan -

Anyway it's strange because from a Debian distro I can issue
clamadscan without the hyphen.
Best regards.


Hi! just for the record, I think that this problem is related to
SELinux, I'm running RH 5.4 and have disabled it and now clamdscan
works without requiring an hyphen.
Regards.

Yes, disabling SELinux fixes a lot of things. One of the questions though is the server sitting on the Internet? If it is behind a router with its own firewall rules then the exposure is less. I would try permissive first before disabling all together on a production system. With tweaking you can get what you need working in the Enforcing mode but takes a lot of effort sometimes.

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

Reply via email to