Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:clamav [2018/03/23 15:36] billdozor [Clamav] |
linux_wiki:clamav [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 20: | Line 20: | ||
* Add the [[linux_wiki: | * Add the [[linux_wiki: | ||
- | * Install ClamAV< | + | * Install ClamAV |
+ | * EL 6<code bash> | ||
+ | * EL 7<code bash>yum install clamav clamav-update</ | ||
+ | * Install ClamAV' | ||
+ | * EL 6<code bash>yum install clamd</ | ||
+ | * EL 7<code bash> | ||
---- | ---- | ||
Line 77: | Line 82: | ||
===== Service ===== | ===== Service ===== | ||
- | Freshclam is NOT a service. It is run via a daily cron script.\\ | + | Freshclam is NOT a service. It is run via a daily cron script. |
+ | |||
+ | \\ | ||
Clamd (the scanning daemon) is run as a service. It does not scan anything by itself unless "on access scanning" | Clamd (the scanning daemon) is run as a service. It does not scan anything by itself unless "on access scanning" | ||
+ | * To scan certain directories regularly, either enable on access scanning, or create a cron that runs clamdscan against directories. | ||
**Enable On Boot** | **Enable On Boot** | ||
Line 172: | Line 180: | ||
* --fdpass => Pass file descriptor permissions to clamd (allows for a faster scan when clamd is running as a different user) | * --fdpass => Pass file descriptor permissions to clamd (allows for a faster scan when clamd is running as a different user) | ||
* --log=/ | * --log=/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Scan Regularly with clamdscan ===== | ||
+ | |||
+ | To scan systems regularly, use clamdscan and either | ||
+ | * Enable on access scanning | ||
+ | * Create a cron to launch clamdscan | ||
+ | |||
+ | Example: Enable on access scanning | ||
+ | * FIXME -> Show this example | ||
+ | |||
+ | Example: Create a cron to launch clamdscan | ||
+ | * FIXME -> Show this example | ||
---- | ---- |