clamav: Allow all users to scan via clamd service on CentOS/RHEL 7.
This commit is contained in:
parent
59b471c16c
commit
990dd7e2c6
1 changed files with 9 additions and 0 deletions
|
@ -87,6 +87,15 @@ class clamav::daemon {
|
||||||
group => "root",
|
group => "root",
|
||||||
require => Package["clamd"],
|
require => Package["clamd"],
|
||||||
}
|
}
|
||||||
|
file { "/etc/tmpfiles.d/clamd.scan.conf":
|
||||||
|
ensure => present,
|
||||||
|
content => "d /var/run/clamd.scan 0711 clamscan clamscan",
|
||||||
|
mode => "0644",
|
||||||
|
owner => "root",
|
||||||
|
group => "root",
|
||||||
|
require => Package[$package],
|
||||||
|
notify => Service[$service],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue