On Fri, Jan 31, 2003 at 02:45:54PM -0600, Sid Keller wrote:
> Thanks.  I'm running clamscan from cron to scan the samba shares on my 
> server.  I'm running it like this
> 
> /usr/local/bin/clamscan -r -i --stdout /samba_share > 
> /var/log/clamav-scan.log
> 
> I'm using redirection to try to log the names of files that 
> ClamAntiVirus thinks are infected so that I can do something about them 
> later.
> 
> You mentioned using -l could cause potential destruction.  Destruction 
> to the log file or something else?

It appends new data to the file, so eg. clamscan -l /etc/passwd
(and executed by root) will add the result of scanning to /etc/passwd.

Best regards,
Tomasz Kojm
-- 
      oo    .....       [EMAIL PROTECTED]
     (\/)\.........     http://www.konarski.edu.pl/~zolw
        \..........._   I nie zapomnij kliknac w brzuszek... 
          //\   /\\     <- C. Amboinensis    www.pajacyk.pl        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to