Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: judgej on February 24, 2007, 05:10:32 PM

Title: Forcing a manual virus scan
Post by: judgej on February 24, 2007, 05:10:32 PM
Is there a way to do this?

I've just upgraded a server, and I want to force it to do a complete virus scan. Any ideas how I would go about doing that?

-- JJ

Update: I think this works, though not through the normal background process (so it won't e-mail the results to the administrator):

Code: [Select]

nohup /usr/bin/clamscan  --recursive --infected --stdout --log /var/log/clamd/clamscan.log --exclude=/proc --exclude=/sys --exclude=/usr/share --exclude=/var --exclude=/var/spool/clamav/quarantine --move=/var/spool/clamav/quarantine / &
Title: Forcing a manual virus scan
Post by: rkscscc on February 28, 2007, 04:07:24 PM
quick and dirty solution:

Code: [Select]
clamscan -v --remove -r /