Hello Henri Thanks for the quick response. I tried that and this is what I get if running from a standard user -
$ clamdscan --fdpass nw1700.p65 ERROR: Can't connect to clamd: Permission denied ----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.000 sec (0 m 0 s) However, if I add clamdscan to my systems sudoers file with No Password, I can then do this from a standard user $ sudo clamdscan --fdpass nw1700.p65 nw1700.p65: BC.Exploit.CVE_2013_3906 FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 1.164 sec (0 m 1 s) To get virus scanning to work in kmail I've had to amend /usr/bin/kmail_clamav.sh to introduce the sudo as follows - 40c40 < CLAMCOMANDO="clamdscan --stdout --no-summary " --- > CLAMCOMANDO="sudo clamdscan --stdout --no-summary " So I don't know if all this is normal i.e. to run clamdscan as a standard user must use sudo or whether my distro, slackware, is limiting clamd in some way. I suppose I could try it on another distro to see what happens!! Alex On Monday 02 Dec 2013 19:44:23 Henri Salo wrote: > On Mon, Dec 02, 2013 at 04:45:20PM +0000, [email protected] wrote: > > What I would like to do is to be able to use clamdscan as a statndard > > user. > > Please try: --fdpass > > You might also like -m feature, which uses all available processors. > > --- > Henri Salo _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml
