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       dirsrvadmin_unconfined_script_exec_t, shell_exec_t file types.
26
27       The default entrypoint paths  for  the  dirsrvadmin_unconfined_script_t
28       domain are the following:
29
30       /usr/lib/dirsrv/cgi-bin/ds_create,   /usr/lib/dirsrv/cgi-bin/ds_remove,
31       /bin/d?ash,  /bin/zsh.*,  /bin/ksh.*,  /usr/bin/d?ash,  /usr/bin/ksh.*,
32       /usr/bin/zsh.*,  /bin/esh,  /bin/mksh, /bin/sash, /bin/tcsh, /bin/yash,
33       /bin/bash,   /bin/fish,   /bin/bash2,   /usr/bin/esh,    /usr/bin/sash,
34       /usr/bin/tcsh,     /usr/bin/yash,     /usr/bin/mksh,     /usr/bin/fish,
35       /usr/bin/bash,    /sbin/nologin,    /usr/sbin/sesh,     /usr/bin/bash2,
36       /usr/sbin/smrsh,          /usr/bin/scponly,          /usr/sbin/nologin,
37       /usr/libexec/sesh,       /usr/sbin/scponlyc,        /usr/bin/git-shell,
38       /usr/libexec/sudo/sesh,  /usr/bin/cockpit-bridge, /usr/libexec/cockpit-
39       agent, /usr/libexec/git-core/git-shell
40

PROCESS TYPES

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

BOOLEANS

64       SELinux policy is customizable based on least access required.   dirsr‐
65       vadmin_unconfined_script  policy  is extremely flexible and has several
66       booleans that allow you to manipulate  the  policy  and  run  dirsrvad‐
67       min_unconfined_script with the tightest access possible.
68
69
70
71       If you want to deny user domains applications to map a memory region as
72       both executable and writable, this  is  dangerous  and  the  executable
73       should be reported in bugzilla, you must turn on the deny_execmem bool‐
74       ean. Enabled by default.
75
76       setsebool -P deny_execmem 1
77
78
79
80       If you want to deny any process from ptracing or  debugging  any  other
81       processes,  you  must  turn  on  the  deny_ptrace  boolean.  Enabled by
82       default.
83
84       setsebool -P deny_ptrace 1
85
86
87
88       If you want to allow any process  to  mmap  any  file  on  system  with
89       attribute  file_type,  you must turn on the domain_can_mmap_files bool‐
90       ean. Enabled by default.
91
92       setsebool -P domain_can_mmap_files 1
93
94
95
96       If you want to allow all domains write to kmsg_device, while kernel  is
97       executed  with  systemd.log_target=kmsg parameter, you must turn on the
98       domain_can_write_kmsg boolean. Disabled by default.
99
100       setsebool -P domain_can_write_kmsg 1
101
102
103
104       If you want to allow all domains to use other domains file descriptors,
105       you must turn on the domain_fd_use boolean. Enabled by default.
106
107       setsebool -P domain_fd_use 1
108
109
110
111       If  you  want to allow all domains to have the kernel load modules, you
112       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
113       default.
114
115       setsebool -P domain_kernel_load_modules 1
116
117
118
119       If you want to allow all domains to execute in fips_mode, you must turn
120       on the fips_mode boolean. Enabled by default.
121
122       setsebool -P fips_mode 1
123
124
125
126       If you want to enable reading of urandom for all domains, you must turn
127       on the global_ssp boolean. Disabled by default.
128
129       setsebool -P global_ssp 1
130
131
132
133       If  you  want  to control the ability to mmap a low area of the address
134       space, as configured by /proc/sys/vm/mmap_min_addr, you  must  turn  on
135       the mmap_low_allowed boolean. Disabled by default.
136
137       setsebool -P mmap_low_allowed 1
138
139
140
141       If  you  want  to  disable  kernel module loading, you must turn on the
142       secure_mode_insmod boolean. Enabled by default.
143
144       setsebool -P secure_mode_insmod 1
145
146
147
148       If you want to boolean to determine whether the system permits  loading
149       policy,  setting enforcing mode, and changing boolean values.  Set this
150       to true and you have to reboot to set it back, you  must  turn  on  the
151       secure_mode_policyload boolean. Enabled by default.
152
153       setsebool -P secure_mode_policyload 1
154
155
156
157       If  you  want to allow unconfined executables to make their heap memory
158       executable.  Doing this is a really  bad  idea.  Probably  indicates  a
159       badly  coded  executable, but could indicate an attack. This executable
160       should  be  reported  in  bugzilla,  you  must  turn  on   the   selin‐
161       uxuser_execheap boolean. Disabled by default.
162
163       setsebool -P selinuxuser_execheap 1
164
165
166
167       If  you  want  to  allow  all  unconfined  executables to use libraries
168       requiring text relocation that are  not  labeled  textrel_shlib_t,  you
169       must turn on the selinuxuser_execmod boolean. Enabled by default.
170
171       setsebool -P selinuxuser_execmod 1
172
173
174
175       If  you  want  to allow unconfined executables to make their stack exe‐
176       cutable.  This should never, ever be necessary.  Probably  indicates  a
177       badly  coded  executable, but could indicate an attack. This executable
178       should be reported in bugzilla, you must turn on the  selinuxuser_exec‐
179       stack boolean. Enabled by default.
180
181       setsebool -P selinuxuser_execstack 1
182
183
184
185       If you want to support X userspace object manager, you must turn on the
186       xserver_object_manager boolean. Enabled by default.
187
188       setsebool -P xserver_object_manager 1
189
190
191

MANAGED FILES

193       The SELinux process  type  dirsrvadmin_unconfined_script_t  can  manage
194       files  labeled with the following file types.  The paths listed are the
195       default paths for these file types.  Note the processes UID still  need
196       to have DAC permissions.
197
198       file_type
199
200            all files on the system
201
202

FILE CONTEXTS

204       SELinux requires files to have an extended attribute to define the file
205       type.
206
207       You can see the context of a file using the -Z option to ls
208
209       Policy governs the access  confined  processes  have  to  these  files.
210       SELinux  dirsrvadmin_unconfined_script policy is very flexible allowing
211       users to setup  their  dirsrvadmin_unconfined_script  processes  in  as
212       secure a method as possible.
213
214       The following file types are defined for dirsrvadmin_unconfined_script:
215
216
217
218       dirsrvadmin_unconfined_script_exec_t
219
220       -  Set files with the dirsrvadmin_unconfined_script_exec_t type, if you
221       want to transition an executable to the dirsrvadmin_unconfined_script_t
222       domain.
223
224
225       Paths:
226            /usr/lib/dirsrv/cgi-bin/ds_create,            /usr/lib/dirsrv/cgi-
227            bin/ds_remove
228
229
230       Note: File context can be temporarily modified with the chcon  command.
231       If  you want to permanently change the file context you need to use the
232       semanage fcontext command.  This will modify the SELinux labeling data‐
233       base.  You will need to use restorecon to apply the labels.
234
235

COMMANDS

237       semanage  fcontext  can also be used to manipulate default file context
238       mappings.
239
240       semanage permissive can also be used to manipulate  whether  or  not  a
241       process type is permissive.
242
243       semanage  module can also be used to enable/disable/install/remove pol‐
244       icy modules.
245
246       semanage boolean can also be used to manipulate the booleans
247
248
249       system-config-selinux is a GUI tool available to customize SELinux pol‐
250       icy settings.
251
252

AUTHOR

254       This manual page was auto-generated using sepolicy manpage .
255
256

SEE ALSO

258       selinux(8),   dirsrvadmin_unconfined_script(8),  semanage(8),  restore‐
259       con(8), chcon(1), sepolicy(8) , setsebool(8)
260
261
262
263dirsrvadmin_unconfined_script      19-0d4i-r2s5rvadmin_unconfined_script_selinux(8)
Impressum