how do you forget to copy these over?
This commit is contained in:
parent
a3a594a152
commit
870b47197d
3 changed files with 15 additions and 0 deletions
4
roles/nagios_server/files/selinux/Makefile
Normal file
4
roles/nagios_server/files/selinux/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
module:
|
||||||
|
checkmodule -Mmo nagios_hostname.mod nagios_hostname.te
|
||||||
|
semodule_package -o nagios_hostname.pp -m nagios_hostname.mod
|
||||||
|
rm nagios_hostname.mod
|
BIN
roles/nagios_server/files/selinux/nagios_hostname.pp
Normal file
BIN
roles/nagios_server/files/selinux/nagios_hostname.pp
Normal file
Binary file not shown.
11
roles/nagios_server/files/selinux/nagios_hostname.te
Normal file
11
roles/nagios_server/files/selinux/nagios_hostname.te
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
module nagios_hostname 1.0;
|
||||||
|
|
||||||
|
require {
|
||||||
|
type nagios_t;
|
||||||
|
type hostname_exec_t;
|
||||||
|
class file { read getattr open execute execute_no_trans };
|
||||||
|
}
|
||||||
|
|
||||||
|
#============= nagios_t ==============
|
||||||
|
allow nagios_t hostname_exec_t:file { read getattr open execute execute_no_trans };
|
Loading…
Add table
Add a link
Reference in a new issue