1staff_wine_selinux(8) SELinux Policy staff_wine staff_wine_selinux(8)
2
3
4
6 staff_wine_selinux - Security Enhanced Linux Policy for the staff_wine
7 processes
8
10 Security-Enhanced Linux secures the staff_wine processes via flexible
11 mandatory access control.
12
13 The staff_wine processes execute with the staff_wine_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_wine_t
20
21
22
24 The staff_wine_t SELinux type can be entered via the user_home_t,
25 wine_exec_t file types.
26
27 The default entrypoint paths for the staff_wine_t domain are the fol‐
28 lowing:
29
30 /home/[^/]+/.+, /usr/bin/wine.*, /opt/teamviewer(/.*)?/bin/wine.*,
31 /opt/google/picasa(/.*)?/bin/wdi, /opt/google/picasa(/.*)?/bin/wine.*,
32 /opt/google/picasa(/.*)?/bin/msiexec,
33 /opt/google/picasa(/.*)?/bin/notepad,
34 /opt/google/picasa(/.*)?/bin/progman,
35 /opt/google/picasa(/.*)?/bin/regedit,
36 /opt/google/picasa(/.*)?/bin/regsvr32,
37 /opt/google/picasa(/.*)?/Picasa3/.*exe,
38 /opt/google/picasa(/.*)?/bin/uninstaller, /opt/cxoffice/bin/wine.*,
39 /opt/picasa/wine/bin/wine.*, /usr/bin/msiexec, /usr/bin/notepad,
40 /usr/bin/regedit, /usr/bin/regsvr32, /usr/bin/uninstaller,
41 /home/[^/]+/cxoffice/bin/wine.+
42
44 SELinux defines process types (domains) for each process running on the
45 system
46
47 You can see the context of a process using the -Z option to ps
48
49 Policy governs the access confined processes have to files. SELinux
50 staff_wine policy is very flexible allowing users to setup their
51 staff_wine processes in as secure a method as possible.
52
53 The following process types are defined for staff_wine:
54
55 staff_wine_t
56
57 Note: semanage permissive -a staff_wine_t can be used to make the
58 process type staff_wine_t permissive. SELinux does not deny access to
59 permissive process types, but the AVC (SELinux denials) messages are
60 still generated.
61
62
64 SELinux policy is customizable based on least access required.
65 staff_wine policy is extremely flexible and has several booleans that
66 allow you to manipulate the policy and run staff_wine with the tightest
67 access possible.
68
69
70
71 If you want to allow users to resolve user passwd entries directly from
72 ldap rather then using a sssd server, you must turn on the authlo‐
73 gin_nsswitch_use_ldap boolean. Disabled by default.
74
75 setsebool -P authlogin_nsswitch_use_ldap 1
76
77
78
79 If you want to allow all domains to execute in fips_mode, you must turn
80 on the fips_mode boolean. Enabled by default.
81
82 setsebool -P fips_mode 1
83
84
85
86 If you want to allow confined applications to run with kerberos, you
87 must turn on the kerberos_enabled boolean. Enabled by default.
88
89 setsebool -P kerberos_enabled 1
90
91
92
93 If you want to control the ability to mmap a low area of the address
94 space, as configured by /proc/sys/vm/mmap_min_addr, you must turn on
95 the mmap_low_allowed boolean. Disabled by default.
96
97 setsebool -P mmap_low_allowed 1
98
99
100
101 If you want to allow system to run with NIS, you must turn on the
102 nis_enabled boolean. Disabled by default.
103
104 setsebool -P nis_enabled 1
105
106
107
108 If you want to allow confined applications to use nscd shared memory,
109 you must turn on the nscd_use_shm boolean. Disabled by default.
110
111 setsebool -P nscd_use_shm 1
112
113
114
115 If you want to allow users to connect to PostgreSQL, you must turn on
116 the selinuxuser_postgresql_connect_enabled boolean. Disabled by
117 default.
118
119 setsebool -P selinuxuser_postgresql_connect_enabled 1
120
121
122
123 If you want to support NFS home directories, you must turn on the
124 use_nfs_home_dirs boolean. Disabled by default.
125
126 setsebool -P use_nfs_home_dirs 1
127
128
129
130 If you want to support SAMBA home directories, you must turn on the
131 use_samba_home_dirs boolean. Disabled by default.
132
133 setsebool -P use_samba_home_dirs 1
134
135
136
138 The SELinux process type staff_wine_t can manage files labeled with the
139 following file types. The paths listed are the default paths for these
140 file types. Note the processes UID still need to have DAC permissions.
141
142 alsa_home_t
143
144 /home/[^/]+/.asoundrc
145
146 anon_inodefs_t
147
148
149 cgroup_t
150
151 /sys/fs/cgroup
152
153 chrome_sandbox_tmpfs_t
154
155
156 cifs_t
157
158
159 dosfs_t
160
161
162 games_data_t
163
164 /var/games(/.*)?
165 /var/lib/games(/.*)?
166
167 gpg_agent_tmp_t
168
169 /home/[^/]+/.gnupg/log-socket
170
171 iceauth_home_t
172
173 /root/.DCOP.*
174 /root/.ICEauthority.*
175 /home/[^/]+/.DCOP.*
176 /home/[^/]+/.ICEauthority.*
177
178 mail_spool_t
179
180 /var/mail(/.*)?
181 /var/spool/imap(/.*)?
182 /var/spool/mail(/.*)?
183 /var/spool/smtpd(/.*)?
184
185 mqueue_spool_t
186
187 /var/spool/(client)?mqueue(/.*)?
188 /var/spool/mqueue.in(/.*)?
189
190 nfs_t
191
192
193 noxattrfs
194
195 all files on file systems which do not support extended attributes
196
197 pulseaudio_tmpfs_t
198
199
200 pulseaudio_tmpfsfile
201
202
203 usbfs_t
204
205
206 user_fonts_cache_t
207
208 /root/.fontconfig(/.*)?
209 /root/.fonts/auto(/.*)?
210 /root/.fonts.cache-.*
211 /root/.cache/fontconfig(/.*)?
212 /home/[^/]+/.fontconfig(/.*)?
213 /home/[^/]+/.fonts/auto(/.*)?
214 /home/[^/]+/.fonts.cache-.*
215 /home/[^/]+/.cache/fontconfig(/.*)?
216
217 user_fonts_config_t
218
219 /root/.fonts.d(/.*)?
220 /root/.config/fontconfig(/.*)?
221 /root/.fonts.conf
222 /home/[^/]+/.fonts.d(/.*)?
223 /home/[^/]+/.config/fontconfig(/.*)?
224 /home/[^/]+/.fonts.conf
225
226 user_fonts_t
227
228 /root/.fonts(/.*)?
229 /tmp/.font-unix(/.*)?
230 /home/[^/]+/.fonts(/.*)?
231 /home/[^/]+/.local/share/fonts(/.*)?
232
233 user_home_type
234
235 all user home files
236
237 user_tmp_t
238
239 /dev/shm/mono.*
240 /var/run/user(/.*)?
241 /tmp/.ICE-unix(/.*)?
242 /tmp/.X11-unix(/.*)?
243 /dev/shm/pulse-shm.*
244 /tmp/.X0-lock
245 /tmp/hsperfdata_root
246 /var/tmp/hsperfdata_root
247 /home/[^/]+/tmp
248 /home/[^/]+/.tmp
249 /tmp/gconfd-[^/]+
250
251 user_tmp_type
252
253 all user tmp files
254
255 wine_home_t
256
257 /home/[^/]+/.wine(/.*)?
258
259 xauth_home_t
260
261 /root/.Xauth.*
262 /root/.xauth.*
263 /root/.Xauthority.*
264 /root/.serverauth.*
265 /var/lib/pqsql/.xauth.*
266 /var/lib/pqsql/.Xauthority.*
267 /var/lib/nxserver/home/.xauth.*
268 /var/lib/nxserver/home/.Xauthority.*
269 /home/[^/]+/.Xauth.*
270 /home/[^/]+/.xauth.*
271 /home/[^/]+/.Xauthority.*
272 /home/[^/]+/.serverauth.*
273
274 xserver_tmpfs_t
275
276
277
279 semanage fcontext can also be used to manipulate default file context
280 mappings.
281
282 semanage permissive can also be used to manipulate whether or not a
283 process type is permissive.
284
285 semanage module can also be used to enable/disable/install/remove pol‐
286 icy modules.
287
288 semanage boolean can also be used to manipulate the booleans
289
290
291 system-config-selinux is a GUI tool available to customize SELinux pol‐
292 icy settings.
293
294
296 This manual page was auto-generated using sepolicy manpage .
297
298
300 selinux(8), staff_wine(8), semanage(8), restorecon(8), chcon(1), sepol‐
301 icy(8), setsebool(8)
302
303
304
305staff_wine 19-06-18 staff_wine_selinux(8)