How do I scan all accounts using ClamAV?

sharmaine001

Well-Known Member
Jun 23, 2006
143
0
166
I have installed clamav plugin from WHM.

Now I want to scan all accounts, or say 10 accounts at a time. How can i do that if I am the server owner? I know users can scan their own accounts by logging to their cpanel. Can i scan their accounts without logging to their cpanel one by one? Is there a way i can do that in WHM or SSH?
 

ManojB

Well-Known Member
Mar 25, 2005
80
0
156
pune
Hi,

You can scan your accounts using the following commands :

clamscan -ir /home/username -l clamscanreport


If you wish to scan your whole server then use the below given command :

clamscan -ir / -l clamscanreport


After clamscan is completed a new file will be created with name clamscanreport which will contain your clam scan report.