1webalizer_selinux(8)       SELinux Policy webalizer       webalizer_selinux(8)
2
3
4

NAME

6       webalizer_selinux  -  Security  Enhanced Linux Policy for the webalizer
7       processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  webalizer_t  SELinux  type can be entered via the webalizer_exec_t
25       file type.
26
27       The default entrypoint paths for the webalizer_t domain are the follow‐
28       ing:
29
30       /usr/bin/awffull, /usr/bin/webalizer, /usr/bin/webazolver
31

PROCESS TYPES

33       SELinux defines process types (domains) for each process running on the
34       system
35
36       You can see the context of a process using the -Z option to ps
37
38       Policy governs the access confined processes have  to  files.   SELinux
39       webalizer  policy is very flexible allowing users to setup their webal‐
40       izer processes in as secure a method as possible.
41
42       The following process types are defined for webalizer:
43
44       webalizer_t, webalizer_script_t
45
46       Note: semanage permissive -a  webalizer_t  can  be  used  to  make  the
47       process  type  webalizer_t  permissive. SELinux does not deny access to
48       permissive process types, but the AVC (SELinux  denials)  messages  are
49       still generated.
50
51

BOOLEANS

53       SELinux  policy is customizable based on least access required.  webal‐
54       izer policy is extremely flexible and has several booleans  that  allow
55       you to manipulate the policy and run webalizer with the tightest access
56       possible.
57
58
59
60       If you want to allow all domains to execute in fips_mode, you must turn
61       on the fips_mode boolean. Enabled by default.
62
63       setsebool -P fips_mode 1
64
65
66
67       If  you  want  to  allow  system  to run with NIS, you must turn on the
68       nis_enabled boolean. Disabled by default.
69
70       setsebool -P nis_enabled 1
71
72
73

MANAGED FILES

75       The SELinux process type webalizer_t can manage files labeled with  the
76       following file types.  The paths listed are the default paths for these
77       file types.  Note the processes UID still need to have DAC permissions.
78
79       httpd_sys_content_t
80
81            /srv/([^/]*/)?www(/.*)?
82            /var/www(/.*)?
83            /etc/htdig(/.*)?
84            /srv/gallery2(/.*)?
85            /var/lib/trac(/.*)?
86            /var/lib/htdig(/.*)?
87            /var/www/icons(/.*)?
88            /usr/share/glpi(/.*)?
89            /usr/share/htdig(/.*)?
90            /usr/share/drupal.*
91            /usr/share/z-push(/.*)?
92            /var/www/svn/conf(/.*)?
93            /usr/share/icecast(/.*)?
94            /var/lib/cacti/rra(/.*)?
95            /usr/share/ntop/html(/.*)?
96            /usr/share/nginx/html(/.*)?
97            /usr/share/doc/ghc/html(/.*)?
98            /usr/share/openca/htdocs(/.*)?
99            /usr/share/selinux-policy[^/]*/html(/.*)?
100
101       krb5_host_rcache_t
102
103            /var/tmp/krb5_0.rcache2
104            /var/cache/krb5rcache(/.*)?
105            /var/tmp/nfs_0
106            /var/tmp/DNS_25
107            /var/tmp/host_0
108            /var/tmp/imap_0
109            /var/tmp/HTTP_23
110            /var/tmp/HTTP_48
111            /var/tmp/ldap_55
112            /var/tmp/ldap_487
113            /var/tmp/ldapmap1_0
114
115       webalizer_rw_content_t
116
117            /var/www/usage(/.*)?
118
119       webalizer_tmp_t
120
121
122       webalizer_var_lib_t
123
124            /var/lib/webalizer(/.*)?
125
126

FILE CONTEXTS

128       SELinux requires files to have an extended attribute to define the file
129       type.
130
131       You can see the context of a file using the -Z option to ls
132
133       Policy  governs  the  access  confined  processes  have to these files.
134       SELinux webalizer policy is very flexible allowing users to setup their
135       webalizer processes in as secure a method as possible.
136
137       STANDARD FILE CONTEXT
138
139       SELinux defines the file context types for the webalizer, if you wanted
140       to store files with these types in a different paths, you need to  exe‐
141       cute  the  semanage  command to specify alternate labeling and then use
142       restorecon to put the labels on disk.
143
144       semanage fcontext -a -t webalizer_exec_t '/srv/webalizer/content(/.*)?'
145       restorecon -R -v /srv/mywebalizer_content
146
147       Note: SELinux often uses regular expressions  to  specify  labels  that
148       match multiple files.
149
150       The following file types are defined for webalizer:
151
152
153
154       webalizer_content_t
155
156       - Set files with the webalizer_content_t type, if you want to treat the
157       files as webalizer content.
158
159
160
161       webalizer_etc_t
162
163       - Set files with the webalizer_etc_t type, if you want to store  webal‐
164       izer files in the /etc directories.
165
166
167
168       webalizer_exec_t
169
170       -  Set  files with the webalizer_exec_t type, if you want to transition
171       an executable to the webalizer_t domain.
172
173
174       Paths:
175            /usr/bin/awffull, /usr/bin/webalizer, /usr/bin/webazolver
176
177
178       webalizer_htaccess_t
179
180       - Set files with the webalizer_htaccess_t type, if you  want  to  treat
181       the file as a webalizer access file.
182
183
184
185       webalizer_ra_content_t
186
187       -  Set files with the webalizer_ra_content_t type, if you want to treat
188       the files as webalizer read/append content.
189
190
191
192       webalizer_rw_content_t
193
194       - Set files with the webalizer_rw_content_t type, if you want to  treat
195       the files as webalizer read/write content.
196
197
198
199       webalizer_script_exec_t
200
201       - Set files with the webalizer_script_exec_t type, if you want to tran‐
202       sition an executable to the webalizer_script_t domain.
203
204
205
206       webalizer_tmp_t
207
208       - Set files with the webalizer_tmp_t type, if you want to store  webal‐
209       izer temporary files in the /tmp directories.
210
211
212
213       webalizer_usage_t
214
215       -  Set  files with the webalizer_usage_t type, if you want to treat the
216       files as webalizer usage data.
217
218
219
220       webalizer_var_lib_t
221
222       - Set files with the webalizer_var_lib_t type, if you want to store the
223       webalizer files under the /var/lib directory.
224
225
226
227       webalizer_write_t
228
229       -  Set  files with the webalizer_write_t type, if you want to treat the
230       files as webalizer read/write content.
231
232
233
234       Note: File context can be temporarily modified with the chcon  command.
235       If  you want to permanently change the file context you need to use the
236       semanage fcontext command.  This will modify the SELinux labeling data‐
237       base.  You will need to use restorecon to apply the labels.
238
239

COMMANDS

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

AUTHOR

258       This manual page was auto-generated using sepolicy manpage .
259
260

SEE ALSO

262       selinux(8),  webalizer(8), semanage(8), restorecon(8), chcon(1), sepol‐
263       icy(8),     setsebool(8),      webalizer_script_selinux(8),      webal‐
264       izer_script_selinux(8)
265
266
267
268webalizer                          23-12-15               webalizer_selinux(8)
Impressum