nagios_selinux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
nagios_selinux [2013/06/03 11:20] – admin | nagios_selinux [2013/06/03 11:47] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==Centos 6.4== | + | ==Centos 6.4 / Nagios 3.5.0 == |
Install semanage | Install semanage | ||
Line 19: | Line 19: | ||
type httpd_sys_content_t; | type httpd_sys_content_t; | ||
type httpd_nagios_script_t; | type httpd_nagios_script_t; | ||
+ | type httpd_sys_script_t; | ||
+ | type usr_t; | ||
type procmail_t; | type procmail_t; | ||
type system_mail_t; | type system_mail_t; | ||
Line 24: | Line 26: | ||
class dir { read write search add_name remove_name }; | class dir { read write search add_name remove_name }; | ||
class file manage_file_perms; | class file manage_file_perms; | ||
+ | class file write; | ||
class fifo_file { read write create open getattr }; | class fifo_file { read write create open getattr }; | ||
} | } | ||
Line 44: | Line 47: | ||
# | # | ||
allow ping_t var_t:file { read write }; | allow ping_t var_t:file { read write }; | ||
+ | allow ping_t usr_t:file write; | ||
+ | |||
+ | # | ||
+ | allow httpd_sys_script_t usr_t: | ||
+ | |||
# | # |
nagios_selinux.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1