Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-03-2005, 10:56 AM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
clamav: what happens when it finds a virus?


I have just installed clamav on my file server.

I ran a scan on my home folder and found nothing.

I was curious to know what clamav does when it finds a virus, and how it notifies me if I run it as a cronjob every evening.

Will it email me?

Does it move the infected file somewhere? I don't remember setting a quarentine directory.

Old 08-03-2005, 11:10 AM   #2
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
it depents on the options you pass to clamav. It can delete, rename, ignore, desinfect the file.
see man clamav

it generate a report.

if you want to get a mail from clamav run the script as a cronjob (customize the emailaddress, what to scan, what to exclude etc):

cat /dev/null > /root/clamavscan.log
/usr/bin/clamscan -i -r --log /root/clamavscan.log --exclude=samba /home > /dev/null 2>&1
cat /root/clamavscan.log | mail -s "ClamAV scan /home without Samba: `date`" root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV - Virus?!? RySk8er30 Mandriva 7 12-18-2006 12:47 PM
On-access virus scanning with Clamav Berhanie Linux - Software 0 05-19-2005 12:56 PM
YUM finds 4 updates while up2date finds 29? guest Linux - Newbie 3 03-15-2005 10:01 PM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 03:35 PM
Gaim 0.71: pkg-config finds 2.2.3, ./configure finds 2.2.1 GreenPenInc Linux - Software 3 10-23-2003 09:00 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration