1xguest_mono_selinux(8) SELinux Policy xguest_mono xguest_mono_selinux(8)
2
3
4
6 xguest_mono_selinux - Security Enhanced Linux Policy for the
7 xguest_mono processes
8
10 Security-Enhanced Linux secures the xguest_mono processes via flexible
11 mandatory access control.
12
13 The xguest_mono processes execute with the xguest_mono_t SELinux type.
14 You can check if you have these processes running by executing the ps
15 command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep xguest_mono_t
20
21
22
24 The xguest_mono_t SELinux type can be entered via the mono_exec_t,
25 xsession_exec_t, user_home_t file types.
26
27 The default entrypoint paths for the xguest_mono_t domain are the fol‐
28 lowing:
29
30 /usr/bin/mono.*, /etc/kde3?/kdm/Xreset, /etc/kde3?/kdm/Xstartup,
31 /etc/kde3?/kdm/Xsession, /etc/X11/[wx]dm/Xreset.*,
32 /etc/X11/[wxg]dm/Xsession, /etc/X11/Xsession[^/]*,
33 /etc/X11/wdm/Xsetup.*, /etc/X11/wdm/Xstartup.*, /home/[^/]*/.+,
34 /home/staff/.+
35
37 SELinux defines process types (domains) for each process running on the
38 system
39
40 You can see the context of a process using the -Z option to ps
41
42 Policy governs the access confined processes have to files. SELinux
43 xguest_mono policy is very flexible allowing users to setup their
44 xguest_mono processes in as secure a method as possible.
45
46 The following process types are defined for xguest_mono:
47
48 xguest_mono_t
49
50 Note: semanage permissive -a xguest_mono_t can be used to make the
51 process type xguest_mono_t permissive. SELinux does not deny access to
52 permissive process types, but the AVC (SELinux denials) messages are
53 still generated.
54
55
57 SELinux policy is customizable based on least access required.
58 xguest_mono policy is extremely flexible and has several booleans that
59 allow you to manipulate the policy and run xguest_mono with the tight‐
60 est access possible.
61
62
63
64 If you want to allow direct login to the console device. Required for
65 System 390, you must turn on the allow_console_login boolean. Enabled
66 by default.
67
68 setsebool -P allow_console_login 1
69
70
71
72 If you want to allow all domains to use other domains file descriptors,
73 you must turn on the allow_domain_fd_use boolean. Enabled by default.
74
75 setsebool -P allow_domain_fd_use 1
76
77
78
79 If you want to allow confined applications to run with kerberos, you
80 must turn on the allow_kerberos boolean. Enabled by default.
81
82 setsebool -P allow_kerberos 1
83
84
85
86 If you want to allow sysadm to debug or ptrace all processes, you must
87 turn on the allow_ptrace boolean. Disabled by default.
88
89 setsebool -P allow_ptrace 1
90
91
92
93 If you want to allows clients to write to the X server shared memory
94 segments, you must turn on the allow_write_xshm boolean. Disabled by
95 default.
96
97 setsebool -P allow_write_xshm 1
98
99
100
101 If you want to allow system to run with NIS, you must turn on the
102 allow_ypbind boolean. Disabled by default.
103
104 setsebool -P allow_ypbind 1
105
106
107
108 If you want to allow all domains to have the kernel load modules, you
109 must turn on the domain_kernel_load_modules boolean. Disabled by
110 default.
111
112 setsebool -P domain_kernel_load_modules 1
113
114
115
116 If you want to allow all domains to execute in fips_mode, you must turn
117 on the fips_mode boolean. Enabled by default.
118
119 setsebool -P fips_mode 1
120
121
122
123 If you want to enable reading of urandom for all domains, you must turn
124 on the global_ssp boolean. Disabled by default.
125
126 setsebool -P global_ssp 1
127
128
129
130 If you want to allow confined applications to use nscd shared memory,
131 you must turn on the nscd_use_shm boolean. Enabled by default.
132
133 setsebool -P nscd_use_shm 1
134
135
136
137 If you want to enabling secure mode disallows programs, such as new‐
138 role, from transitioning to administrative user domains, you must turn
139 on the secure_mode boolean. Disabled by default.
140
141 setsebool -P secure_mode 1
142
143
144
145 If you want to allow ssh logins as sysadm_r:sysadm_t, you must turn on
146 the ssh_sysadm_login boolean. Disabled by default.
147
148 setsebool -P ssh_sysadm_login 1
149
150
151
152 If you want to support NFS home directories, you must turn on the
153 use_nfs_home_dirs boolean. Disabled by default.
154
155 setsebool -P use_nfs_home_dirs 1
156
157
158
159 If you want to support SAMBA home directories, you must turn on the
160 use_samba_home_dirs boolean. Disabled by default.
161
162 setsebool -P use_samba_home_dirs 1
163
164
165
166 If you want to allow regular users direct dri device access, you must
167 turn on the user_direct_dri boolean. Enabled by default.
168
169 setsebool -P user_direct_dri 1
170
171
172
173 If you want to allow user to r/w files on filesystems that do not have
174 extended attributes (FAT, CDROM, FLOPPY), you must turn on the
175 user_rw_noexattrfile boolean. Enabled by default.
176
177 setsebool -P user_rw_noexattrfile 1
178
179
180
181 If you want to allow xdm logins as sysadm, you must turn on the
182 xdm_sysadm_login boolean. Disabled by default.
183
184 setsebool -P xdm_sysadm_login 1
185
186
187
188 If you want to allow xguest to configure Network Manager and connect to
189 apache ports, you must turn on the xguest_connect_network boolean.
190 Enabled by default.
191
192 setsebool -P xguest_connect_network 1
193
194
195
196 If you want to support X userspace object manager, you must turn on the
197 xserver_object_manager boolean. Disabled by default.
198
199 setsebool -P xserver_object_manager 1
200
201
202
204 The SELinux process type xguest_mono_t can manage files labeled with
205 the following file types. The paths listed are the default paths for
206 these file types. Note the processes UID still need to have DAC per‐
207 missions.
208
209 anon_inodefs_t
210
211
212 chrome_sandbox_tmpfs_t
213
214
215 cifs_t
216
217
218 iceauth_home_t
219
220 /home/[^/]*/.DCOP.*
221 /home/[^/]*/.ICEauthority.*
222 /home/staff/.DCOP.*
223 /home/staff/.ICEauthority.*
224
225 initrc_tmp_t
226
227
228 mnt_t
229
230 /mnt(/[^/]*)
231 /mnt(/[^/]*)?
232 /rhev(/[^/]*)?
233 /media(/[^/]*)
234 /media(/[^/]*)?
235 /etc/rhgb(/.*)?
236 /media/.hal-.*
237 /net
238 /afs
239 /rhev
240 /misc
241
242 noxattrfs
243
244 all files on file systems which do not support extended attributes
245
246 tmp_t
247
248 /tmp
249 /usr/tmp
250 /var/tmp
251 /tmp-inst
252 /var/tmp-inst
253 /var/tmp/vi.recover
254
255 usbfs_t
256
257
258 user_fonts_cache_t
259
260 /home/[^/]*/.fonts/auto(/.*)?
261 /home/[^/]*/.fontconfig(/.*)?
262 /home/[^/]*/.fonts.cache-.*
263 /home/staff/.fonts/auto(/.*)?
264 /home/staff/.fontconfig(/.*)?
265 /home/staff/.fonts.cache-.*
266
267 user_fonts_t
268
269 /home/[^/]*/.fonts(/.*)?
270 /home/staff/.fonts(/.*)?
271
272 user_home_type
273
274 all user home files
275
276 user_tmp_t
277
278 /tmp/gconfd-.*
279 /tmp/gconfd-staff
280
281 user_tmpfs_t
282
283 /dev/shm/mono.*
284 /dev/shm/pulse-shm.*
285
286 xauth_home_t
287
288 /root/.Xauth.*
289 /root/.xauth.*
290 /root/.serverauth.*
291 /var/lib/pqsql/.xauth.*
292 /var/lib/pqsql/.Xauthority.*
293 /var/lib/nxserver/home/.xauth.*
294 /var/lib/nxserver/home/.Xauthority.*
295 /home/[^/]*/.xauth.*
296 /home/[^/]*/.Xauthority.*
297 /home/[^/]*/.serverauth.*
298 /home/staff/.xauth.*
299 /home/staff/.Xauthority.*
300 /home/staff/.serverauth.*
301
302 xdm_tmp_t
303
304 /tmp/.X11-unix(/.*)?
305 /tmp/.ICE-unix(/.*)?
306 /tmp/.X0-lock
307
308 xserver_tmpfs_t
309
310
311
313 semanage fcontext can also be used to manipulate default file context
314 mappings.
315
316 semanage permissive can also be used to manipulate whether or not a
317 process type is permissive.
318
319 semanage module can also be used to enable/disable/install/remove pol‐
320 icy modules.
321
322 semanage boolean can also be used to manipulate the booleans
323
324
325 system-config-selinux is a GUI tool available to customize SELinux pol‐
326 icy settings.
327
328
330 This manual page was auto-generated using sepolicy manpage .
331
332
334 selinux(8), xguest_mono(8), semanage(8), restorecon(8), chcon(1) , set‐
335 sebool(8)
336
337
338
339xguest_mono 15-06-03 xguest_mono_selinux(8)