--- Stephen Gran <[EMAIL PROTECTED]> wrote: > On Fri, Jul 29, 2005 at 03:21:35PM +1000, Kevin O'C > said: > > Hi All, > > > > debian sarge system > > > > logging in as root > > > > clam v8.X > > > > configured clamd.conf - do not have copy of file > at > > this location - will post if required. > > > > line in clamd.conf is this: > > VirusEvent /whatever/whatever/xmessage "virus > found" > > > > i have tested virus event command line in shell - > > produces xmessage box with 'virus found'. > > but when i run 'clamd /root' in terminal it > detects > > eicar virus at that location but does not run > > xmessage. > > i've checked clamd logs but nothing logged.. > > You'll want to use clamdscan to actually scan > something. clamd is the > daemon that does the work, clamdscan is the command > line tool that gets > aimed at a file. As a side note, clamd does not run > as root in the > default Debian install - it probably won't hae > permission to scan /root. > Please see the documentation at > /usr/share/doc/clamav-base/README.Debian > -- > > -------------------------------------------------------------------------- > | Stephen Gran | You climb to > reach the summit, but once | > | [EMAIL PROTECTED] | there, discover > that all roads lead | > | http://www.lobefin.net/~steve | down. -- > Stanislaw Lem, "The | > | | Cyberiad" > | > > -------------------------------------------------------------------------- > > _______________________________________________ > http://lurker.clamav.net/list/clamav-users.html > Hi Stephen,
thanks for prompt reply - correction, i was testing virusevent with clamdscan, not clamd. clamd daemon is running happily via startup init script. i think it is running as root - the clamdscan test from terminal does run correctly ie. it scans the /root dir and finds eicar virus..... the documentation you refer to is very basic, are you a debian user? Send instant messages to your online friends http://au.messenger.yahoo.com _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
