Question
How do you start a ClamAV scan?
Procedure
A ClamAV scan can be started from an account's cPanel or from the command line:
cPanel
- Navigate to Home / Advanced / Virus Scanner
- Select if you want to scan the Home Directory, Mail, FTP, or Web Space
- Start the scan by pressing Scan Now
Command line
- Log in to the server via SSH or WHM's Terminal as the
rootuser Run the following command:
# /usr/local/cpanel/3rdparty/bin/clamscan -ir /home/USER/public_html
Note: You need to replace USER with the cPanel account's username
You can run a scan on all users with the following command:
# /usr/local/cpanel/3rdparty/bin/clamscan -r /home*/*/public_html
Comments
0 comments
Article is closed for comments.