Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default How do I scan all accounts using ClamAV?

    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?

  2. #2
    Member ManojB's Avatar
    Join Date
    Mar 2005
    Location
    pune
    Posts
    80

    Default

    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.
    Regards,
    ManojB.

Similar Threads & Tags
Similar threads

  1. clamav virus scan from root ?
    By bhanuprasad1981 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-13-2011, 12:54 PM
  2. How do I scan all accounts using ClamAV?
    By sharmaine001 in forum cPanel Developers
    Replies: 2
    Last Post: 04-07-2010, 12:24 PM
  3. Scan local email for viruses using ClamAV
    By markav28 in forum E-mail Discussions
    Replies: 0
    Last Post: 10-20-2008, 05:32 PM
  4. File::Scan::ClamAV
    By BigP in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-14-2007, 05:14 AM
  5. how i can scan all hdd with clamav?
    By robocap in forum cPanel Developers
    Replies: 10
    Last Post: 12-02-2006, 11:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube