1nagios_eventhandler_SpElLuigniunx_sPeolliincuyx(n8a)gios_envaegnitohsa_nedvleenrt_hpalnudglienr_plugin_selinux(8)
2
3
4

NAME

6       nagios_eventhandler_plugin_selinux - Security Enhanced Linux Policy for
7       the nagios_eventhandler_plugin processes
8

DESCRIPTION

10       Security-Enhanced Linux  secures  the  nagios_eventhandler_plugin  pro‐
11       cesses via flexible mandatory access control.
12
13       The  nagios_eventhandler_plugin processes execute with the nagios_even‐
14       thandler_plugin_t SELinux type. You can check if you  have  these  pro‐
15       cesses running by executing the ps command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep nagios_eventhandler_plugin_t
20
21
22

ENTRYPOINTS

24       The  nagios_eventhandler_plugin_t  SELinux  type can be entered via the
25       nagios_eventhandler_plugin_exec_t file type.
26
27       The  default  entrypoint  paths  for  the  nagios_eventhandler_plugin_t
28       domain are the following:
29
30       /usr/lib/icinga/plugins/eventhandlers(/.*),       /usr/lib/nagios/plug‐
31       ins/eventhandlers(/.*)
32

PROCESS TYPES

34       SELinux defines process types (domains) for each process running on the
35       system
36
37       You can see the context of a process using the -Z option to ps
38
39       Policy  governs  the  access confined processes have to files.  SELinux
40       nagios_eventhandler_plugin policy is very flexible  allowing  users  to
41       setup  their nagios_eventhandler_plugin processes in as secure a method
42       as possible.
43
44       The following process types are defined for nagios_eventhandler_plugin:
45
46       nagios_eventhandler_plugin_t
47
48       Note: semanage permissive -a nagios_eventhandler_plugin_t can  be  used
49       to  make  the  process  type  nagios_eventhandler_plugin_t  permissive.
50       SELinux does not deny access to permissive process types, but  the  AVC
51       (SELinux denials) messages are still generated.
52
53

BOOLEANS

55       SELinux   policy  is  customizable  based  on  least  access  required.
56       nagios_eventhandler_plugin policy is extremely flexible and has several
57       booleans  that  allow you to manipulate the policy and run nagios_even‐
58       thandler_plugin with the tightest access possible.
59
60
61
62       If you want to deny user domains applications to map a memory region as
63       both  executable  and  writable,  this  is dangerous and the executable
64       should be reported in bugzilla, you must turn on the deny_execmem bool‐
65       ean. Enabled by default.
66
67       setsebool -P deny_execmem 1
68
69
70
71       If you want to allow all domains to execute in fips_mode, you must turn
72       on the fips_mode boolean. Enabled by default.
73
74       setsebool -P fips_mode 1
75
76
77
78       If you want to control the ability to mmap a low area  of  the  address
79       space,  as  configured  by /proc/sys/vm/mmap_min_addr, you must turn on
80       the mmap_low_allowed boolean. Disabled by default.
81
82       setsebool -P mmap_low_allowed 1
83
84
85
86       If you want to disable kernel module loading,  you  must  turn  on  the
87       secure_mode_insmod boolean. Enabled by default.
88
89       setsebool -P secure_mode_insmod 1
90
91
92
93       If  you  want to allow unconfined executables to make their heap memory
94       executable.  Doing this is a really  bad  idea.  Probably  indicates  a
95       badly  coded  executable, but could indicate an attack. This executable
96       should  be  reported  in  bugzilla,  you  must  turn  on   the   selin‐
97       uxuser_execheap boolean. Disabled by default.
98
99       setsebool -P selinuxuser_execheap 1
100
101
102
103       If  you  want  to allow unconfined executables to make their stack exe‐
104       cutable.  This should never, ever be necessary.  Probably  indicates  a
105       badly  coded  executable, but could indicate an attack. This executable
106       should be reported in bugzilla, you must turn on the  selinuxuser_exec‐
107       stack boolean. Enabled by default.
108
109       setsebool -P selinuxuser_execstack 1
110
111
112

MANAGED FILES

114       The  SELinux process type nagios_eventhandler_plugin_t can manage files
115       labeled with the following  file  types.   The  paths  listed  are  the
116       default  paths for these file types.  Note the processes UID still need
117       to have DAC permissions.
118
119       file_type
120
121            all files on the system
122
123

FILE CONTEXTS

125       SELinux requires files to have an extended attribute to define the file
126       type.
127
128       You can see the context of a file using the -Z option to ls
129
130       Policy  governs  the  access  confined  processes  have to these files.
131       SELinux nagios_eventhandler_plugin policy  is  very  flexible  allowing
132       users  to setup their nagios_eventhandler_plugin processes in as secure
133       a method as possible.
134
135       STANDARD FILE CONTEXT
136
137       SELinux  defines  the  file  context   types   for   the   nagios_even‐
138       thandler_plugin,  if  you  wanted  to store files with these types in a
139       diffent paths, you need to execute the  semanage  command  to  sepecify
140       alternate labeling and then use restorecon to put the labels on disk.
141
142       semanage  fcontext  -a  -t nagios_eventhandler_plugin_tmp_t '/srv/myna‐
143       gios_eventhandler_plugin_content(/.*)?'
144       restorecon -R -v /srv/mynagios_eventhandler_plugin_content
145
146       Note: SELinux often uses regular expressions  to  specify  labels  that
147       match multiple files.
148
149       The following file types are defined for nagios_eventhandler_plugin:
150
151
152
153       nagios_eventhandler_plugin_exec_t
154
155       -  Set  files  with  the nagios_eventhandler_plugin_exec_t type, if you
156       want to transition an executable  to  the  nagios_eventhandler_plugin_t
157       domain.
158
159
160       Paths:
161            /usr/lib/icinga/plugins/eventhandlers(/.*),  /usr/lib/nagios/plug‐
162            ins/eventhandlers(/.*)
163
164
165       nagios_eventhandler_plugin_tmp_t
166
167       - Set files with the nagios_eventhandler_plugin_tmp_t type, if you want
168       to  store nagios eventhandler plugin temporary files in the /tmp direc‐
169       tories.
170
171
172
173       Note: File context can be temporarily modified with the chcon  command.
174       If  you want to permanently change the file context you need to use the
175       semanage fcontext command.  This will modify the SELinux labeling data‐
176       base.  You will need to use restorecon to apply the labels.
177
178

COMMANDS

180       semanage  fcontext  can also be used to manipulate default file context
181       mappings.
182
183       semanage permissive can also be used to manipulate  whether  or  not  a
184       process type is permissive.
185
186       semanage  module can also be used to enable/disable/install/remove pol‐
187       icy modules.
188
189       semanage boolean can also be used to manipulate the booleans
190
191
192       system-config-selinux is a GUI tool available to customize SELinux pol‐
193       icy settings.
194
195

AUTHOR

197       This manual page was auto-generated using sepolicy manpage .
198
199

SEE ALSO

201       selinux(8),  nagios_eventhandler_plugin(8), semanage(8), restorecon(8),
202       chcon(1), sepolicy(8), setsebool(8)
203
204
205
206nagios_eventhandler_plugin         19-05-3n0agios_eventhandler_plugin_selinux(8)
Impressum