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/ksh.*,  /bin/zsh.*,  /usr/bin/d?ash,  /usr/bin/ksh.*,
32       /usr/bin/zsh.*,  /bin/esh,  /bin/bash, /bin/fish, /bin/mksh, /bin/sash,
33       /bin/tcsh,   /bin/yash,   /bin/bash2,   /usr/bin/esh,    /sbin/nologin,
34       /usr/bin/bash,     /usr/bin/fish,     /usr/bin/mksh,     /usr/bin/sash,
35       /usr/bin/tcsh,    /usr/bin/yash,    /usr/bin/bash2,     /usr/sbin/sesh,
36       /usr/sbin/smrsh,  /usr/bin/scponly,  /usr/libexec/sesh, /usr/sbin/nolo‐
37       gin,  /usr/bin/git-shell,  /usr/sbin/scponlyc,  /usr/libexec/sudo/sesh,
38       /usr/bin/cockpit-bridge,  /usr/libexec/cockpit-agent, /usr/libexec/git-
39       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 control the ability to mmap a low area  of  the  address
81       space,  as  configured  by /proc/sys/vm/mmap_min_addr, you must turn on
82       the mmap_low_allowed boolean. Disabled by default.
83
84       setsebool -P mmap_low_allowed 1
85
86
87
88       If you want to disable kernel module loading, you must turn on the  se‐
89       cure_mode_insmod boolean. Enabled by default.
90
91       setsebool -P secure_mode_insmod 1
92
93
94
95       If  you  want to allow unconfined executables to make their heap memory
96       executable.  Doing this is a really  bad  idea.  Probably  indicates  a
97       badly  coded  executable, but could indicate an attack. This executable
98       should be reported in bugzilla, you must turn  on  the  selinuxuser_ex‐
99       echeap boolean. Disabled by default.
100
101       setsebool -P selinuxuser_execheap 1
102
103
104
105       If  you  want  to allow unconfined executables to make their stack exe‐
106       cutable.  This should never, ever be necessary.  Probably  indicates  a
107       badly  coded  executable, but could indicate an attack. This executable
108       should be reported in bugzilla, you must turn on the  selinuxuser_exec‐
109       stack boolean. Enabled by default.
110
111       setsebool -P selinuxuser_execstack 1
112
113
114

MANAGED FILES

116       The  SELinux  process  type  dirsrvadmin_unconfined_script_t can manage
117       files labeled with the following file types.  The paths listed are  the
118       default  paths for these file types.  Note the processes UID still need
119       to have DAC permissions.
120
121       file_type
122
123            all files on the system
124
125

FILE CONTEXTS

127       SELinux requires files to have an extended attribute to define the file
128       type.
129
130       You can see the context of a file using the -Z option to ls
131
132       Policy  governs  the  access  confined  processes  have to these files.
133       SELinux dirsrvadmin_unconfined_script policy is very flexible  allowing
134       users  to setup their dirsrvadmin_unconfined_script processes in as se‐
135       cure a method as possible.
136
137       The following file types are defined for dirsrvadmin_unconfined_script:
138
139
140
141       dirsrvadmin_unconfined_script_exec_t
142
143       - Set files with the dirsrvadmin_unconfined_script_exec_t type, if  you
144       want to transition an executable to the dirsrvadmin_unconfined_script_t
145       domain.
146
147
148       Paths:
149            /usr/lib/dirsrv/cgi-bin/ds_create,  /usr/lib/dirsrv/cgi-bin/ds_re‐
150            move
151
152
153       Note:  File context can be temporarily modified with the chcon command.
154       If you want to permanently change the file context you need to use  the
155       semanage fcontext command.  This will modify the SELinux labeling data‐
156       base.  You will need to use restorecon to apply the labels.
157
158

COMMANDS

160       semanage fcontext can also be used to manipulate default  file  context
161       mappings.
162
163       semanage  permissive  can  also  be used to manipulate whether or not a
164       process type is permissive.
165
166       semanage module can also be used to enable/disable/install/remove  pol‐
167       icy modules.
168
169       semanage boolean can also be used to manipulate the booleans
170
171
172       system-config-selinux is a GUI tool available to customize SELinux pol‐
173       icy settings.
174
175

AUTHOR

177       This manual page was auto-generated using sepolicy manpage .
178
179

SEE ALSO

181       selinux(8),  dirsrvadmin_unconfined_script(8),  semanage(8),   restore‐
182       con(8), chcon(1), sepolicy(8), setsebool(8)
183
184
185
186dirsrvadmin_unconfined_script      22-0d5i-r2s7rvadmin_unconfined_script_selinux(8)
Impressum