1httpd_dirsrvadmin_scrSiEpLti_nsuexliPnoulxi(c8y)httpd_dirhstrtvpadd_mdiinr_ssrcvraidpmtin_script_selinux(8)
2
3
4

NAME

6       httpd_dirsrvadmin_script_selinux  -  Security Enhanced Linux Policy for
7       the httpd_dirsrvadmin_script processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  httpd_dirsrvadmin_script_t  SELinux  type  can  be entered via the
25       shell_exec_t,     httpd_dirsrvadmin_script_exec_t,      httpd_dirsrvad‐
26       min_script_exec_t file types.
27
28       The  default entrypoint paths for the httpd_dirsrvadmin_script_t domain
29       are the following:
30
31       /bin/d?ash, /bin/zsh.*, /bin/ksh.*,  /bin/sash,  /bin/tcsh,  /bin/yash,
32       /bin/mksh, /bin/fish, /bin/bash, /bin/bash2, /usr/bin/fish, /sbin/nolo‐
33       gin,      /usr/sbin/sesh,      /usr/sbin/smrsh,       /usr/bin/scponly,
34       /usr/libexec/sesh,        /usr/sbin/scponlyc,       /usr/bin/git-shell,
35       /usr/libexec/git-core/git-shell,    /usr/lib(64)?/dirsrv/cgi-bin(/.*)?,
36       /usr/lib(64)?/dirsrv/dsgw-cgi-bin(/.*)?,      /usr/lib(64)?/dirsrv/cgi-
37       bin(/.*)?, /usr/lib(64)?/dirsrv/dsgw-cgi-bin(/.*)?
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       httpd_dirsrvadmin_script policy is very flexible allowing users to set‐
47       up  their  httpd_dirsrvadmin_script  processes in as secure a method as
48       possible.
49
50       The following process types are defined for httpd_dirsrvadmin_script:
51
52       httpd_dirsrvadmin_script_t
53
54       Note: semanage permissive -a httpd_dirsrvadmin_script_t can be used  to
55       make  the  process  type httpd_dirsrvadmin_script_t permissive. SELinux
56       does not deny access to permissive process types, but the AVC  (SELinux
57       denials) messages are still generated.
58
59

BOOLEANS

61       SELinux   policy  is  customizable  based  on  least  access  required.
62       httpd_dirsrvadmin_script policy is extremely flexible and  has  several
63       booleans  that  allow you to manipulate the policy and run httpd_dirsr‐
64       vadmin_script with the tightest access possible.
65
66
67
68       If you want to allow all domains to use other domains file descriptors,
69       you must turn on the allow_domain_fd_use boolean. Enabled by default.
70
71       setsebool -P allow_domain_fd_use 1
72
73
74
75       If  you want to allow sysadm to debug or ptrace all processes, you must
76       turn on the allow_ptrace boolean. Disabled by default.
77
78       setsebool -P allow_ptrace 1
79
80
81
82       If you want to allow system to run with  NIS,  you  must  turn  on  the
83       allow_ypbind boolean. Disabled by default.
84
85       setsebool -P allow_ypbind 1
86
87
88
89       If  you  want to allow all domains to have the kernel load modules, you
90       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
91       default.
92
93       setsebool -P domain_kernel_load_modules 1
94
95
96
97       If you want to allow all domains to execute in fips_mode, you must turn
98       on the fips_mode boolean. Enabled by default.
99
100       setsebool -P fips_mode 1
101
102
103
104       If you want to enable reading of urandom for all domains, you must turn
105       on the global_ssp boolean. Disabled by default.
106
107       setsebool -P global_ssp 1
108
109
110
111       If  you  want  to  allow  httpd  cgi  support,  you  must  turn  on the
112       httpd_enable_cgi boolean. Enabled by default.
113
114       setsebool -P httpd_enable_cgi 1
115
116
117
118       If you want to allow unprivileged users to execute DDL  statement,  you
119       must turn on the sepgsql_enable_users_ddl boolean. Enabled by default.
120
121       setsebool -P sepgsql_enable_users_ddl 1
122
123
124

MANAGED FILES

126       The  SELinux  process  type httpd_dirsrvadmin_script_t can manage files
127       labeled with the following  file  types.   The  paths  listed  are  the
128       default  paths for these file types.  Note the processes UID still need
129       to have DAC permissions.
130
131       dirsrv_config_t
132
133            /etc/dirsrv(/.*)?
134
135       dirsrv_var_lib_t
136
137            /var/lib/dirsrv(/.*)?
138
139       dirsrv_var_lock_t
140
141            /var/lock/dirsrv(/.*)?
142            /var/lock/subsys/dirsrv
143            /var/lock/subsys/dirsrv-admin
144
145       dirsrv_var_log_t
146
147            /var/log/dirsrv(/.*)?
148
149       dirsrv_var_run_t
150
151            /var/run/slapd.*
152            /var/run/dirsrv(/.*)?
153
154       dirsrvadmin_config_t
155
156            /etc/dirsrv/dsgw(/.*)?
157            /etc/dirsrv/admin-serv(/.*)?
158
159       dirsrvadmin_tmp_t
160
161
162       httpd_dirsrvadmin_rw_content_t
163
164
165       initrc_tmp_t
166
167
168       mnt_t
169
170            /mnt(/[^/]*)
171            /mnt(/[^/]*)?
172            /rhev(/[^/]*)?
173            /media(/[^/]*)
174            /media(/[^/]*)?
175            /etc/rhgb(/.*)?
176            /media/.hal-.*
177            /net
178            /afs
179            /rhev
180            /misc
181
182       tmp_t
183
184            /tmp
185            /usr/tmp
186            /var/tmp
187            /tmp-inst
188            /var/tmp-inst
189            /var/tmp/vi.recover
190
191

FILE CONTEXTS

193       SELinux requires files to have an extended attribute to define the file
194       type.
195
196       You can see the context of a file using the -Z option to ls
197
198       Policy  governs  the  access  confined  processes  have to these files.
199       SELinux httpd_dirsrvadmin_script policy is very flexible allowing users
200       to setup their httpd_dirsrvadmin_script processes in as secure a method
201       as possible.
202
203       The following file types are defined for httpd_dirsrvadmin_script:
204
205
206
207       httpd_dirsrvadmin_script_exec_t
208
209       - Set files with the httpd_dirsrvadmin_script_exec_t type, if you  want
210       to transition an executable to the httpd_dirsrvadmin_script_t domain.
211
212
213       Paths:
214            /usr/lib(64)?/dirsrv/cgi-bin(/.*)?, /usr/lib(64)?/dirsrv/dsgw-cgi-
215            bin(/.*)?
216
217
218       Note: File context can be temporarily modified with the chcon  command.
219       If  you want to permanently change the file context you need to use the
220       semanage fcontext command.  This will modify the SELinux labeling data‐
221       base.  You will need to use restorecon to apply the labels.
222
223

COMMANDS

225       semanage  fcontext  can also be used to manipulate default file context
226       mappings.
227
228       semanage permissive can also be used to manipulate  whether  or  not  a
229       process type is permissive.
230
231       semanage  module can also be used to enable/disable/install/remove pol‐
232       icy modules.
233
234       semanage boolean can also be used to manipulate the booleans
235
236
237       system-config-selinux is a GUI tool available to customize SELinux pol‐
238       icy settings.
239
240

AUTHOR

242       This manual page was auto-generated using sepolicy manpage .
243
244

SEE ALSO

246       selinux(8),  httpd_dirsrvadmin_script(8),  semanage(8),  restorecon(8),
247       chcon(1) , setsebool(8)
248
249
250
251httpd_dirsrvadmin_script           15-06-03httpd_dirsrvadmin_script_selinux(8)
Impressum