1unconfined_notrans_selinSuExL(i8n)ux Policy unconfined_nuontcroannfsined_notrans_selinux(8)
2
3
4
6 unconfined_notrans_selinux - Security Enhanced Linux Policy for the
7 unconfined_notrans processes
8
10 Security-Enhanced Linux secures the unconfined_notrans processes via
11 flexible mandatory access control.
12
13 The unconfined_notrans processes execute with the unconfined_notrans_t
14 SELinux type. You can check if you have these processes running by exe‐
15 cuting the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep unconfined_notrans_t
20
21
22
24 The unconfined_notrans_t SELinux type can be entered via the file_type,
25 unlabeled_t, proc_type, unconfined_notrans_exec_t, filesystem_type,
26 mtrr_device_t, sysctl_type file types.
27
28 The default entrypoint paths for the unconfined_notrans_t domain are
29 the following:
30
31 all files on the system, /usr/sbin/mock, /usr/sbin/sysreport,
32 /dev/cpu/mtrr
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 unconfined_notrans policy is very flexible allowing users to setup
42 their unconfined_notrans processes in as secure a method as possible.
43
44 The following process types are defined for unconfined_notrans:
45
46 unconfined_notrans_t
47
48 Note: semanage permissive -a unconfined_notrans_t can be used to make
49 the process type unconfined_notrans_t permissive. SELinux does not deny
50 access to permissive process types, but the AVC (SELinux denials) mes‐
51 sages are still generated.
52
53
55 SELinux policy is customizable based on least access required. uncon‐
56 fined_notrans policy is extremely flexible and has several booleans
57 that allow you to manipulate the policy and run unconfined_notrans with
58 the tightest access possible.
59
60
61
62 If you want to allow direct login to the console device. Required for
63 System 390, you must turn on the allow_console_login boolean. Enabled
64 by default.
65
66 setsebool -P allow_console_login 1
67
68
69
70 If you want to allow all daemons the ability to read/write terminals,
71 you must turn on the allow_daemons_use_tty boolean. Disabled by
72 default.
73
74 setsebool -P allow_daemons_use_tty 1
75
76
77
78 If you want to allow all domains to use other domains file descriptors,
79 you must turn on the allow_domain_fd_use boolean. Enabled by default.
80
81 setsebool -P allow_domain_fd_use 1
82
83
84
85 If you want to allow unconfined executables to make their heap memory
86 executable. Doing this is a really bad idea. Probably indicates a
87 badly coded executable, but could indicate an attack. This executable
88 should be reported in bugzilla, you must turn on the allow_execheap
89 boolean. Disabled by default.
90
91 setsebool -P allow_execheap 1
92
93
94
95 If you want to allow unconfined executables to map a memory region as
96 both executable and writable, this is dangerous and the executable
97 should be reported in bugzilla), you must turn on the allow_execmem
98 boolean. Enabled by default.
99
100 setsebool -P allow_execmem 1
101
102
103
104 If you want to allow all unconfined executables to use libraries
105 requiring text relocation that are not labeled textrel_shlib_t), you
106 must turn on the allow_execmod boolean. Enabled by default.
107
108 setsebool -P allow_execmod 1
109
110
111
112 If you want to allow unconfined executables to make their stack exe‐
113 cutable. This should never, ever be necessary. Probably indicates a
114 badly coded executable, but could indicate an attack. This executable
115 should be reported in bugzilla), you must turn on the allow_execstack
116 boolean. Enabled by default.
117
118 setsebool -P allow_execstack 1
119
120
121
122 If you want to allow confined applications to run with kerberos, you
123 must turn on the allow_kerberos boolean. Enabled by default.
124
125 setsebool -P allow_kerberos 1
126
127
128
129 If you want to allow sysadm to debug or ptrace all processes, you must
130 turn on the allow_ptrace boolean. Disabled by default.
131
132 setsebool -P allow_ptrace 1
133
134
135
136 If you want to transition to confined nsplugin domains from unconfined
137 user, you must turn on the allow_unconfined_nsplugin_transition bool‐
138 ean. Disabled by default.
139
140 setsebool -P allow_unconfined_nsplugin_transition 1
141
142
143
144 If you want to allow system to run with NIS, you must turn on the
145 allow_ypbind boolean. Disabled by default.
146
147 setsebool -P allow_ypbind 1
148
149
150
151 If you want to allow all domains to have the kernel load modules, you
152 must turn on the domain_kernel_load_modules boolean. Disabled by
153 default.
154
155 setsebool -P domain_kernel_load_modules 1
156
157
158
159 If you want to allow all domains to execute in fips_mode, you must turn
160 on the fips_mode boolean. Enabled by default.
161
162 setsebool -P fips_mode 1
163
164
165
166 If you want to enable reading of urandom for all domains, you must turn
167 on the global_ssp boolean. Disabled by default.
168
169 setsebool -P global_ssp 1
170
171
172
173 If you want to allow certain domains to map low memory in the kernel,
174 you must turn on the mmap_low_allowed boolean. Disabled by default.
175
176 setsebool -P mmap_low_allowed 1
177
178
179
180 If you want to allow confined applications to use nscd shared memory,
181 you must turn on the nscd_use_shm boolean. Enabled by default.
182
183 setsebool -P nscd_use_shm 1
184
185
186
187 If you want to enabling secure mode disallows programs, such as new‐
188 role, from transitioning to administrative user domains, you must turn
189 on the secure_mode boolean. Disabled by default.
190
191 setsebool -P secure_mode 1
192
193
194
195 If you want to boolean to determine whether the system permits loading
196 policy, setting enforcing mode, and changing boolean values. Set this
197 to true and you have to reboot to set it back, you must turn on the
198 secure_mode_policyload boolean. Disabled by default.
199
200 setsebool -P secure_mode_policyload 1
201
202
203
204 If you want to allow ssh logins as sysadm_r:sysadm_t, you must turn on
205 the ssh_sysadm_login boolean. Disabled by default.
206
207 setsebool -P ssh_sysadm_login 1
208
209
210
211 If you want to allow unconfined users to transition to the Mozilla
212 plugin domain when running xulrunner plugin-container, you must turn on
213 the unconfined_mozilla_plugin_transition boolean. Enabled by default.
214
215 setsebool -P unconfined_mozilla_plugin_transition 1
216
217
218
219 If you want to allow xdm logins as sysadm, you must turn on the
220 xdm_sysadm_login boolean. Disabled by default.
221
222 setsebool -P xdm_sysadm_login 1
223
224
225
226 If you want to support X userspace object manager, you must turn on the
227 xserver_object_manager boolean. Disabled by default.
228
229 setsebool -P xserver_object_manager 1
230
231
232
234 The SELinux process type unconfined_notrans_t can manage files labeled
235 with the following file types. The paths listed are the default paths
236 for these file types. Note the processes UID still need to have DAC
237 permissions.
238
239 file_type
240
241 all files on the system
242
243
245 SELinux requires files to have an extended attribute to define the file
246 type.
247
248 You can see the context of a file using the -Z option to ls
249
250 Policy governs the access confined processes have to these files.
251 SELinux unconfined_notrans policy is very flexible allowing users to
252 setup their unconfined_notrans processes in as secure a method as pos‐
253 sible.
254
255 The following file types are defined for unconfined_notrans:
256
257
258
259 unconfined_notrans_exec_t
260
261 - Set files with the unconfined_notrans_exec_t type, if you want to
262 transition an executable to the unconfined_notrans_t domain.
263
264
265 Paths:
266 /usr/sbin/mock, /usr/sbin/sysreport
267
268
269 Note: File context can be temporarily modified with the chcon command.
270 If you want to permanently change the file context you need to use the
271 semanage fcontext command. This will modify the SELinux labeling data‐
272 base. You will need to use restorecon to apply the labels.
273
274
276 semanage fcontext can also be used to manipulate default file context
277 mappings.
278
279 semanage permissive can also be used to manipulate whether or not a
280 process type is permissive.
281
282 semanage module can also be used to enable/disable/install/remove pol‐
283 icy modules.
284
285 semanage boolean can also be used to manipulate the booleans
286
287
288 system-config-selinux is a GUI tool available to customize SELinux pol‐
289 icy settings.
290
291
293 This manual page was auto-generated using sepolicy manpage .
294
295
297 selinux(8), unconfined_notrans(8), semanage(8), restorecon(8), chcon(1)
298 , setsebool(8)
299
300
301
302unconfined_notrans 15-06-03 unconfined_notrans_selinux(8)