Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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?
     
  2. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    156
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice