Manual scan with ClamAV on CentOS 6
It's been a long time since I had to use this, but due to some recent cracker activity I reinstalled it via WHM on CentOS 6.
I expected to get an email report on anything it found, but so far haven't gotten anything. Since it takes up a lot of space and makes the server run slow, I'd like to manually run a scan via SSH. Then if I'm all clear I could just remove it.
I tried the instructions I found here, but running "freshclam" or "clamscan -r /home" just returned an error:
-
Hi @GoWilkes Since you're using the cpanel-clamav package you'd need to enter teh full path: /usr/local/cpanel/3rdparty/bin/freshclam
/usr/local/cpanel/3rdparty/bin/clamscan0 -
Thanks, Lauren! I found the files at the directory you gave :-) How do I run it, though? From SSH as root I tried: # cd /usr/local/cpanel/3rdparty/bin # freshclam -bash: freshclam: command not found # sudo freshclam sudo: freshclam: command not found # clamscan -r /home -bash: clamscan: command not found # clamdscan -r /home -bash: clamdscan: command not found0
Please sign in to leave a comment.
Comments
2 comments