1dirsrvadmin_unconfSiEnLeidn_usxcrPioplti_csyeldiinrusxr(v8ad)dimrisnr_vuandcmoinnf_iunnecdo_nsfcirniepdt_script_selinux(8)
2
3
4

NAME

6       dirsrvadmin_unconfined_script_selinux  - Security Enhanced Linux Policy
7       for the dirsrvadmin_unconfined_script processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the dirsrvadmin_unconfined_script  pro‐
11       cesses via flexible mandatory access control.
12
13       The  dirsrvadmin_unconfined_script processes execute with the dirsrvad‐
14       min_unconfined_script_t SELinux type. You can check if you  have  these
15       processes running by executing the ps command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep dirsrvadmin_unconfined_script_t
20
21
22

ENTRYPOINTS

24       The dirsrvadmin_unconfined_script_t SELinux type can be entered via the
25       file_type,      dirsrvadmin_unconfined_script_exec_t,      unlabeled_t,
26       proc_type,  filesystem_type,  mtrr_device_t,  shell_exec_t, sysctl_type
27       file types.
28
29       The default entrypoint paths  for  the  dirsrvadmin_unconfined_script_t
30       domain are the following:
31
32       all   files   on  the  system,  /usr/lib(64)?/dirsrv/cgi-bin/ds_create,
33       /usr/lib(64)?/dirsrv/cgi-bin/ds_remove,   /dev/cpu/mtrr,    /bin/d?ash,
34       /bin/zsh.*,  /bin/ksh.*,  /bin/sash,  /bin/tcsh,  /bin/yash, /bin/mksh,
35       /bin/fish,   /bin/bash,   /bin/bash2,   /usr/bin/fish,   /sbin/nologin,
36       /usr/sbin/sesh,  /usr/sbin/smrsh,  /usr/bin/scponly, /usr/libexec/sesh,
37       /usr/sbin/scponlyc, /usr/bin/git-shell, /usr/libexec/git-core/git-shell
38

PROCESS TYPES

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

BOOLEANS

62       SELinux policy is customizable based on least access required.   dirsr‐
63       vadmin_unconfined_script  policy  is extremely flexible and has several
64       booleans that allow you to manipulate  the  policy  and  run  dirsrvad‐
65       min_unconfined_script with the tightest access possible.
66
67
68
69       If you want to allow all domains to use other domains file descriptors,
70       you must turn on the allow_domain_fd_use boolean. Enabled by default.
71
72       setsebool -P allow_domain_fd_use 1
73
74
75
76       If you want to allow unconfined executables to make their  heap  memory
77       executable.   Doing  this  is  a  really bad idea. Probably indicates a
78       badly coded executable, but could indicate an attack.  This  executable
79       should  be  reported  in  bugzilla, you must turn on the allow_execheap
80       boolean. Disabled by default.
81
82       setsebool -P allow_execheap 1
83
84
85
86       If you want to allow unconfined executables to map a memory  region  as
87       both  executable  and  writable,  this  is dangerous and the executable
88       should be reported in bugzilla), you must  turn  on  the  allow_execmem
89       boolean. Enabled by default.
90
91       setsebool -P allow_execmem 1
92
93
94
95       If  you  want  to  allow  all  unconfined  executables to use libraries
96       requiring text relocation that are not  labeled  textrel_shlib_t),  you
97       must turn on the allow_execmod boolean. Enabled by default.
98
99       setsebool -P allow_execmod 1
100
101
102
103       If  you  want  to allow unconfined executables to make their stack exe‐
104       cutable.  This should never, ever be necessary.  Probably  indicates  a
105       badly  coded  executable, but could indicate an attack. This executable
106       should be reported in bugzilla), you must turn on  the  allow_execstack
107       boolean. Enabled by default.
108
109       setsebool -P allow_execstack 1
110
111
112
113       If  you want to allow sysadm to debug or ptrace all processes, you must
114       turn on the allow_ptrace boolean. Disabled by default.
115
116       setsebool -P allow_ptrace 1
117
118
119
120       If you want to allow all domains to have the kernel load  modules,  you
121       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
122       default.
123
124       setsebool -P domain_kernel_load_modules 1
125
126
127
128       If you want to allow all domains to execute in fips_mode, you must turn
129       on the fips_mode boolean. Enabled by default.
130
131       setsebool -P fips_mode 1
132
133
134
135       If you want to enable reading of urandom for all domains, you must turn
136       on the global_ssp boolean. Disabled by default.
137
138       setsebool -P global_ssp 1
139
140
141
142       If you want to allow certain domains to map low memory in  the  kernel,
143       you must turn on the mmap_low_allowed boolean. Disabled by default.
144
145       setsebool -P mmap_low_allowed 1
146
147
148
149       If  you want to boolean to determine whether the system permits loading
150       policy, setting enforcing mode, and changing boolean values.  Set  this
151       to  true  and  you  have to reboot to set it back, you must turn on the
152       secure_mode_policyload boolean. Disabled by default.
153
154       setsebool -P secure_mode_policyload 1
155
156
157
158       If you want to support X userspace object manager, you must turn on the
159       xserver_object_manager boolean. Disabled by default.
160
161       setsebool -P xserver_object_manager 1
162
163
164

MANAGED FILES

166       The  SELinux  process  type  dirsrvadmin_unconfined_script_t can manage
167       files labeled with the following file types.  The paths listed are  the
168       default  paths for these file types.  Note the processes UID still need
169       to have DAC permissions.
170
171       file_type
172
173            all files on the system
174
175

FILE CONTEXTS

177       SELinux requires files to have an extended attribute to define the file
178       type.
179
180       You can see the context of a file using the -Z option to ls
181
182       Policy  governs  the  access  confined  processes  have to these files.
183       SELinux dirsrvadmin_unconfined_script policy is very flexible  allowing
184       users  to  setup  their  dirsrvadmin_unconfined_script  processes in as
185       secure a method as possible.
186
187       The following file types are defined for dirsrvadmin_unconfined_script:
188
189
190
191       dirsrvadmin_unconfined_script_exec_t
192
193       - Set files with the dirsrvadmin_unconfined_script_exec_t type, if  you
194       want to transition an executable to the dirsrvadmin_unconfined_script_t
195       domain.
196
197
198       Paths:
199            /usr/lib(64)?/dirsrv/cgi-bin/ds_create,  /usr/lib(64)?/dirsrv/cgi-
200            bin/ds_remove
201
202
203       Note:  File context can be temporarily modified with the chcon command.
204       If you want to permanently change the file context you need to use  the
205       semanage fcontext command.  This will modify the SELinux labeling data‐
206       base.  You will need to use restorecon to apply the labels.
207
208

COMMANDS

210       semanage fcontext can also be used to manipulate default  file  context
211       mappings.
212
213       semanage  permissive  can  also  be used to manipulate whether or not a
214       process type is permissive.
215
216       semanage module can also be used to enable/disable/install/remove  pol‐
217       icy modules.
218
219       semanage boolean can also be used to manipulate the booleans
220
221
222       system-config-selinux is a GUI tool available to customize SELinux pol‐
223       icy settings.
224
225

AUTHOR

227       This manual page was auto-generated using sepolicy manpage .
228
229

SEE ALSO

231       selinux(8),  dirsrvadmin_unconfined_script(8),  semanage(8),   restore‐
232       con(8), chcon(1) , setsebool(8)
233
234
235
236dirsrvadmin_unconfined_script      15-0d6i-r0s3rvadmin_unconfined_script_selinux(8)
Impressum