Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


nagios_selinux

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
nagios_selinux [2013/06/03 11:20] adminnagios_selinux [2013/06/03 11:23] admin
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:
 #============= ping_t ============== #============= ping_t ==============
 allow ping_t var_t:file { read write }; allow ping_t var_t:file { read write };
 +allow ping_t usr_t:file write;
 +
 +#============= httpd_sys_script_t ==============
 +allow httpd_sys_script_t usr_t:fifo_file getattr;
 +
  
 #============= procmail_t ============== #============= procmail_t ==============
nagios_selinux.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1