1staff_mono_selinux(8)      SELinux Policy staff_mono     staff_mono_selinux(8)
2
3
4

NAME

6       staff_mono_selinux  - Security Enhanced Linux Policy for the staff_mono
7       processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the staff_mono processes  via  flexible
11       mandatory access control.
12
13       The  staff_mono  processes  execute with the staff_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 staff_mono_t
20
21
22

ENTRYPOINTS

24       The  staff_mono_t  SELinux  type  can  be  entered via the user_home_t,
25       mono_exec_t, xsession_exec_t file types.
26
27       The default entrypoint paths for the staff_mono_t domain are  the  fol‐
28       lowing:
29
30       /home/[^/]*/.+, /home/staff/.+, /usr/bin/mono.*, /etc/kde3?/kdm/Xreset,
31       /etc/kde3?/kdm/Xstartup, /etc/kde3?/kdm/Xsession,  /etc/X11/[wx]dm/Xre‐
32       set.*,        /etc/X11/[wxg]dm/Xsession,        /etc/X11/Xsession[^/]*,
33       /etc/X11/wdm/Xsetup.*, /etc/X11/wdm/Xstartup.*
34

PROCESS TYPES

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

BOOLEANS

56       SELinux  policy  is  customizable  based  on  least  access   required.
57       staff_mono  policy  is extremely flexible and has several booleans that
58       allow you to manipulate the policy and run staff_mono with the tightest
59       access possible.
60
61
62
63       If  you  want to allow direct login to the console device. Required for
64       System 390, you must turn on the allow_console_login  boolean.  Enabled
65       by default.
66
67       setsebool -P allow_console_login 1
68
69
70
71       If you want to allow all domains to use other domains file descriptors,
72       you must turn on the allow_domain_fd_use boolean. Enabled by default.
73
74       setsebool -P allow_domain_fd_use 1
75
76
77
78       If you want to  allow  all  unconfined  executables  to  use  libraries
79       requiring  text  relocation  that are not labeled textrel_shlib_t), you
80       must turn on the allow_execmod boolean. Enabled by default.
81
82       setsebool -P allow_execmod 1
83
84
85
86       If you want to allow confined applications to run  with  kerberos,  you
87       must turn on the allow_kerberos boolean. Enabled by default.
88
89       setsebool -P allow_kerberos 1
90
91
92
93       If  you want to allow sysadm to debug or ptrace all processes, you must
94       turn on the allow_ptrace boolean. Disabled by default.
95
96       setsebool -P allow_ptrace 1
97
98
99
100       If you want to allow users to connect to PostgreSQL, you must  turn  on
101       the allow_user_postgresql_connect boolean. Disabled by default.
102
103       setsebool -P allow_user_postgresql_connect 1
104
105
106
107       If  you  want  to allows clients to write to the X server shared memory
108       segments, you must turn on the allow_write_xshm  boolean.  Disabled  by
109       default.
110
111       setsebool -P allow_write_xshm 1
112
113
114
115       If  you  want  to  allow  system  to run with NIS, you must turn on the
116       allow_ypbind boolean. Disabled by default.
117
118       setsebool -P allow_ypbind 1
119
120
121
122       If you want to allow all domains to have the kernel load  modules,  you
123       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
124       default.
125
126       setsebool -P domain_kernel_load_modules 1
127
128
129
130       If you want to allow all domains to execute in fips_mode, you must turn
131       on the fips_mode boolean. Enabled by default.
132
133       setsebool -P fips_mode 1
134
135
136
137       If you want to enable reading of urandom for all domains, you must turn
138       on the global_ssp boolean. Disabled by default.
139
140       setsebool -P global_ssp 1
141
142
143
144       If you want to allow confined applications to use nscd  shared  memory,
145       you must turn on the nscd_use_shm boolean. Enabled by default.
146
147       setsebool -P nscd_use_shm 1
148
149
150
151       If  you  want  to enabling secure mode disallows programs, such as new‐
152       role, from transitioning to administrative user domains, you must  turn
153       on the secure_mode boolean. Disabled by default.
154
155       setsebool -P secure_mode 1
156
157
158
159       If  you want to allow ssh logins as sysadm_r:sysadm_t, you must turn on
160       the ssh_sysadm_login boolean. Disabled by default.
161
162       setsebool -P ssh_sysadm_login 1
163
164
165
166       If you want to support NFS home  directories,  you  must  turn  on  the
167       use_nfs_home_dirs boolean. Disabled by default.
168
169       setsebool -P use_nfs_home_dirs 1
170
171
172
173       If  you  want  to  support SAMBA home directories, you must turn on the
174       use_samba_home_dirs boolean. Disabled by default.
175
176       setsebool -P use_samba_home_dirs 1
177
178
179
180       If you want to allow regular users direct dri device access,  you  must
181       turn on the user_direct_dri boolean. Enabled by default.
182
183       setsebool -P user_direct_dri 1
184
185
186
187       If  you  want to allow regular users direct mouse access, you must turn
188       on the user_direct_mouse boolean. Disabled by default.
189
190       setsebool -P user_direct_mouse 1
191
192
193
194       If you want to allow user to r/w files on filesystems that do not  have
195       extended  attributes  (FAT,  CDROM,  FLOPPY),  you  must  turn  on  the
196       user_rw_noexattrfile boolean. Enabled by default.
197
198       setsebool -P user_rw_noexattrfile 1
199
200
201
202       If you want to allow user processes to change their priority, you  must
203       turn on the user_setrlimit boolean. Enabled by default.
204
205       setsebool -P user_setrlimit 1
206
207
208
209       If you want to allow users to run TCP servers (bind to ports and accept
210       connection from the same domain  and  outside  users)   disabling  this
211       forces  FTP  passive mode and may change other protocols, you must turn
212       on the user_tcp_server boolean. Disabled by default.
213
214       setsebool -P user_tcp_server 1
215
216
217
218       If you want to allow xdm  logins  as  sysadm,  you  must  turn  on  the
219       xdm_sysadm_login boolean. Disabled by default.
220
221       setsebool -P xdm_sysadm_login 1
222
223
224
225       If you want to support X userspace object manager, you must turn on the
226       xserver_object_manager boolean. Disabled by default.
227
228       setsebool -P xserver_object_manager 1
229
230
231

MANAGED FILES

233       The SELinux process type staff_mono_t can manage files labeled with the
234       following file types.  The paths listed are the default paths for these
235       file types.  Note the processes UID still need to have DAC permissions.
236
237       anon_inodefs_t
238
239
240       cgroup_t
241
242            /cgroup(/.*)?
243
244       chrome_sandbox_tmpfs_t
245
246
247       cifs_t
248
249
250       games_data_t
251
252            /var/games(/.*)?
253            /var/lib/games(/.*)?
254
255       gpg_agent_tmp_t
256
257
258       iceauth_home_t
259
260            /home/[^/]*/.DCOP.*
261            /home/[^/]*/.ICEauthority.*
262            /home/staff/.DCOP.*
263            /home/staff/.ICEauthority.*
264
265       initrc_tmp_t
266
267
268       mail_spool_t
269
270            /var/mail(/.*)?
271            /var/spool/mail(/.*)?
272            /var/spool/imap(/.*)?
273
274       mnt_t
275
276            /mnt(/[^/]*)
277            /mnt(/[^/]*)?
278            /rhev(/[^/]*)?
279            /media(/[^/]*)
280            /media(/[^/]*)?
281            /etc/rhgb(/.*)?
282            /media/.hal-.*
283            /net
284            /afs
285            /rhev
286            /misc
287
288       mqueue_spool_t
289
290            /var/spool/(client)?mqueue(/.*)?
291
292       nfsd_rw_t
293
294
295       noxattrfs
296
297            all files on file systems which do not support extended attributes
298
299       sandbox_file_t
300
301
302       sandbox_tmpfs_type
303
304            all sandbox content in tmpfs file systems
305
306       security_t
307
308
309       tmp_t
310
311            /tmp
312            /usr/tmp
313            /var/tmp
314            /tmp-inst
315            /var/tmp-inst
316            /var/tmp/vi.recover
317
318       usbfs_t
319
320
321       user_fonts_cache_t
322
323            /home/[^/]*/.fonts/auto(/.*)?
324            /home/[^/]*/.fontconfig(/.*)?
325            /home/[^/]*/.fonts.cache-.*
326            /home/staff/.fonts/auto(/.*)?
327            /home/staff/.fontconfig(/.*)?
328            /home/staff/.fonts.cache-.*
329
330       user_fonts_t
331
332            /home/[^/]*/.fonts(/.*)?
333            /home/staff/.fonts(/.*)?
334
335       user_home_type
336
337            all user home files
338
339       user_tmp_t
340
341            /tmp/gconfd-.*
342            /tmp/gconfd-staff
343
344       user_tmpfs_t
345
346            /dev/shm/mono.*
347            /dev/shm/pulse-shm.*
348
349       xauth_home_t
350
351            /root/.Xauth.*
352            /root/.xauth.*
353            /root/.serverauth.*
354            /var/lib/pqsql/.xauth.*
355            /var/lib/pqsql/.Xauthority.*
356            /var/lib/nxserver/home/.xauth.*
357            /var/lib/nxserver/home/.Xauthority.*
358            /home/[^/]*/.xauth.*
359            /home/[^/]*/.Xauthority.*
360            /home/[^/]*/.serverauth.*
361            /home/staff/.xauth.*
362            /home/staff/.Xauthority.*
363            /home/staff/.serverauth.*
364
365       xdm_tmp_t
366
367            /tmp/.X11-unix(/.*)?
368            /tmp/.ICE-unix(/.*)?
369            /tmp/.X0-lock
370
371       xserver_tmpfs_t
372
373
374

COMMANDS

376       semanage fcontext can also be used to manipulate default  file  context
377       mappings.
378
379       semanage  permissive  can  also  be used to manipulate whether or not a
380       process type is permissive.
381
382       semanage module can also be used to enable/disable/install/remove  pol‐
383       icy modules.
384
385       semanage boolean can also be used to manipulate the booleans
386
387
388       system-config-selinux is a GUI tool available to customize SELinux pol‐
389       icy settings.
390
391

AUTHOR

393       This manual page was auto-generated using sepolicy manpage .
394
395

SEE ALSO

397       selinux(8), staff_mono(8), semanage(8), restorecon(8), chcon(1) ,  set‐
398       sebool(8)
399
400
401
402staff_mono                         15-06-03              staff_mono_selinux(8)
Impressum