1nagios_checkdisk_plugSiEnL_isneulxinPuoxl(i8c)y nagios_chencakgdiiossk__cphleucgkidnisk_plugin_selinux(8)
2
3
4
6 nagios_checkdisk_plugin_selinux - Security Enhanced Linux Policy for
7 the nagios_checkdisk_plugin processes
8
10 Security-Enhanced Linux secures the nagios_checkdisk_plugin processes
11 via flexible mandatory access control.
12
13 The nagios_checkdisk_plugin processes execute with the nagios_check‐
14 disk_plugin_t SELinux type. You can check if you have these processes
15 running by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep nagios_checkdisk_plugin_t
20
21
22
24 The nagios_checkdisk_plugin_t SELinux type can be entered via the
25 nagios_checkdisk_plugin_exec_t file type.
26
27 The default entrypoint paths for the nagios_checkdisk_plugin_t domain
28 are the following:
29
30 /usr/lib(64)?/nagios/plugins/check_disk, /usr/lib(64)?/nagios/plug‐
31 ins/check_disk_smb, /usr/lib(64)?/nagios/plugins/check_ide_smart,
32 /usr/lib(64)?/nagios/plugins/check_linux_raid
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 nagios_checkdisk_plugin policy is very flexible allowing users to setup
42 their nagios_checkdisk_plugin processes in as secure a method as possi‐
43 ble.
44
45 The following process types are defined for nagios_checkdisk_plugin:
46
47 nagios_checkdisk_plugin_t
48
49 Note: semanage permissive -a nagios_checkdisk_plugin_t can be used to
50 make the process type nagios_checkdisk_plugin_t permissive. SELinux
51 does not deny access to permissive process types, but the AVC (SELinux
52 denials) messages are still generated.
53
54
56 SELinux policy is customizable based on least access required.
57 nagios_checkdisk_plugin policy is extremely flexible and has several
58 booleans that allow you to manipulate the policy and run nagios_check‐
59 disk_plugin with the tightest access possible.
60
61
62
63 If you want to allow all domains to use other domains file descriptors,
64 you must turn on the allow_domain_fd_use boolean. Enabled by default.
65
66 setsebool -P allow_domain_fd_use 1
67
68
69
70 If you want to allow sysadm to debug or ptrace all processes, you must
71 turn on the allow_ptrace boolean. Disabled by default.
72
73 setsebool -P allow_ptrace 1
74
75
76
77 If you want to allow all domains to have the kernel load modules, you
78 must turn on the domain_kernel_load_modules boolean. Disabled by
79 default.
80
81 setsebool -P domain_kernel_load_modules 1
82
83
84
85 If you want to allow all domains to execute in fips_mode, you must turn
86 on the fips_mode boolean. Enabled by default.
87
88 setsebool -P fips_mode 1
89
90
91
92 If you want to enable reading of urandom for all domains, you must turn
93 on the global_ssp boolean. Disabled by default.
94
95 setsebool -P global_ssp 1
96
97
98
100 The SELinux process type nagios_checkdisk_plugin_t can manage files
101 labeled with the following file types. The paths listed are the
102 default paths for these file types. Note the processes UID still need
103 to have DAC permissions.
104
105 initrc_tmp_t
106
107
108 mnt_t
109
110 /mnt(/[^/]*)
111 /mnt(/[^/]*)?
112 /rhev(/[^/]*)?
113 /media(/[^/]*)
114 /media(/[^/]*)?
115 /etc/rhgb(/.*)?
116 /media/.hal-.*
117 /net
118 /afs
119 /rhev
120 /misc
121
122 tmp_t
123
124 /tmp
125 /usr/tmp
126 /var/tmp
127 /tmp-inst
128 /var/tmp-inst
129 /var/tmp/vi.recover
130
131
133 SELinux requires files to have an extended attribute to define the file
134 type.
135
136 You can see the context of a file using the -Z option to ls
137
138 Policy governs the access confined processes have to these files.
139 SELinux nagios_checkdisk_plugin policy is very flexible allowing users
140 to setup their nagios_checkdisk_plugin processes in as secure a method
141 as possible.
142
143 The following file types are defined for nagios_checkdisk_plugin:
144
145
146
147 nagios_checkdisk_plugin_exec_t
148
149 - Set files with the nagios_checkdisk_plugin_exec_t type, if you want
150 to transition an executable to the nagios_checkdisk_plugin_t domain.
151
152
153 Paths:
154 /usr/lib(64)?/nagios/plugins/check_disk,
155 /usr/lib(64)?/nagios/plugins/check_disk_smb,
156 /usr/lib(64)?/nagios/plugins/check_ide_smart,
157 /usr/lib(64)?/nagios/plugins/check_linux_raid
158
159
160 Note: File context can be temporarily modified with the chcon command.
161 If you want to permanently change the file context you need to use the
162 semanage fcontext command. This will modify the SELinux labeling data‐
163 base. You will need to use restorecon to apply the labels.
164
165
167 semanage fcontext can also be used to manipulate default file context
168 mappings.
169
170 semanage permissive can also be used to manipulate whether or not a
171 process type is permissive.
172
173 semanage module can also be used to enable/disable/install/remove pol‐
174 icy modules.
175
176 semanage boolean can also be used to manipulate the booleans
177
178
179 system-config-selinux is a GUI tool available to customize SELinux pol‐
180 icy settings.
181
182
184 This manual page was auto-generated using sepolicy manpage .
185
186
188 selinux(8), nagios_checkdisk_plugin(8), semanage(8), restorecon(8),
189 chcon(1) , setsebool(8)
190
191
192
193nagios_checkdisk_plugin 15-06-03 nagios_checkdisk_plugin_selinux(8)