The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I scan all accounts using ClamAV?

Discussion in 'General Discussion' started by sharmaine001, Sep 20, 2009.

  1. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    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. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
Loading...

Share This Page