KlamAV on FreeBSD...

Andrew L. Gould algould at datawok.com
Sat Aug 28 08:51:52 PDT 2004


On Saturday 28 August 2004 10:38 am, Dan Nelson wrote:
> In the last episode (Aug 28), Mike Hauber said:
> > Actually, it's for a server I've set up at my folks house with SMB
> > shares.  I'd like for them to be able to scan for viruses every so
> > often from the server without having to deal with a command prompt.
>
> How about something that opens an xterm and runs "clamscan -i -r
> /home"? -r will make it recurse into all subdirectories, and -i will
> make it print something only if there's an infected file.

Along similar lines, you could run a script from cron that executes 
clamscan and emails the user and/or sysadmin if an infected file was 
detected.

Best of luck,

Andrew Gould


More information about the freebsd-questions mailing list