1sandbox_web_selinux(8) SELinux Policy sandbox_web sandbox_web_selinux(8)
2
3
4
6 sandbox_web_selinux - Security Enhanced Linux Policy for the sand‐
7 box_web processes
8
10 Security-Enhanced Linux secures the sandbox_web processes via flexible
11 mandatory access control.
12
13 The sandbox_web processes execute with the sandbox_web_t SELinux type.
14 You can check if you have these processes running by executing the ps
15 command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep sandbox_web_t
20
21
22
24 SELinux defines process types (domains) for each process running on the
25 system
26
27 You can see the context of a process using the -Z option to ps
28
29 Policy governs the access confined processes have to files. SELinux
30 sandbox_web policy is very flexible allowing users to setup their sand‐
31 box_web processes in as secure a method as possible.
32
33 The following process types are defined for sandbox_web:
34
35 sandbox_web_t, sandbox_web_client_t
36
37 Note: semanage permissive -a sandbox_web_t can be used to make the
38 process type sandbox_web_t permissive. SELinux does not deny access to
39 permissive process types, but the AVC (SELinux denials) messages are
40 still generated.
41
42
44 The SELinux process type sandbox_web_t is an MCS (Multi Category Secu‐
45 rity) constrained type. Sometimes this separation is referred to as
46 sVirt. These types are usually used for securing multi-tenant environ‐
47 ments, such as virtualization, containers or separation of users. The
48 tools used to launch MCS types, pick out a different MCS label for each
49 process group.
50
51 For example one process might be launched with sandbox_web_t:s0:c1,c2,
52 and another process launched with sandbox_web_t:s0:c3,c4. The SELinux
53 kernel only allows these processes can only write to content with a
54 matching MCS label, or a MCS Label of s0. A process running with the
55 MCS level of s0:c1,c2 is not allowed to write to content with the MCS
56 label of s0:c3,c4
57
58
60 SELinux policy is customizable based on least access required. sand‐
61 box_web policy is extremely flexible and has several booleans that
62 allow you to manipulate the policy and run sandbox_web with the tight‐
63 est access possible.
64
65
66
67 If you want to allow users to resolve user passwd entries directly from
68 ldap rather then using a sssd server, you must turn on the authlo‐
69 gin_nsswitch_use_ldap boolean. Disabled by default.
70
71 setsebool -P authlogin_nsswitch_use_ldap 1
72
73
74
75 If you want to deny user domains applications to map a memory region as
76 both executable and writable, this is dangerous and the executable
77 should be reported in bugzilla, you must turn on the deny_execmem bool‐
78 ean. Enabled by default.
79
80 setsebool -P deny_execmem 1
81
82
83
84 If you want to allow all domains to execute in fips_mode, you must turn
85 on the fips_mode boolean. Enabled by default.
86
87 setsebool -P fips_mode 1
88
89
90
91 If you want to allow confined applications to run with kerberos, you
92 must turn on the kerberos_enabled boolean. Disabled by default.
93
94 setsebool -P kerberos_enabled 1
95
96
97
98 If you want to allow system to run with NIS, you must turn on the
99 nis_enabled boolean. Disabled by default.
100
101 setsebool -P nis_enabled 1
102
103
104
105 If you want to allow confined applications to use nscd shared memory,
106 you must turn on the nscd_use_shm boolean. Disabled by default.
107
108 setsebool -P nscd_use_shm 1
109
110
111
113 The SELinux process type sandbox_web_t can manage files labeled with
114 the following file types. The paths listed are the default paths for
115 these file types. Note the processes UID still need to have DAC per‐
116 missions.
117
118 cifs_t
119
120
121 fusefs_t
122
123 /var/run/user/[^/]*/gvfs
124
125 mozilla_plugin_rw_t
126
127 /usr/lib/mozilla/plugins-wrapped(/.*)?
128
129 mozilla_plugin_tmpfs_t
130
131
132 nfs_t
133
134
135 sandbox_file_t
136
137
138 sandbox_web_client_tmpfs_t
139
140
141 security_t
142
143 /selinux
144
145 user_tmp_t
146
147 /dev/shm/mono.*
148 /var/run/user(/.*)?
149 /tmp/.ICE-unix(/.*)?
150 /tmp/.X11-unix(/.*)?
151 /dev/shm/pulse-shm.*
152 /tmp/.X0-lock
153 /tmp/hsperfdata_root
154 /var/tmp/hsperfdata_root
155 /home/[^/]+/tmp
156 /home/[^/]+/.tmp
157 /tmp/gconfd-[^/]+
158
159
161 semanage fcontext can also be used to manipulate default file context
162 mappings.
163
164 semanage permissive can also be used to manipulate whether or not a
165 process type is permissive.
166
167 semanage module can also be used to enable/disable/install/remove pol‐
168 icy modules.
169
170 semanage boolean can also be used to manipulate the booleans
171
172
173 system-config-selinux is a GUI tool available to customize SELinux pol‐
174 icy settings.
175
176
178 This manual page was auto-generated using sepolicy manpage .
179
180
182 selinux(8), sandbox_web(8), semanage(8), restorecon(8), chcon(1),
183 sepolicy(8), setsebool(8), sandbox_web_client_selinux(8), sand‐
184 box_web_client_selinux(8)
185
186
187
188sandbox_web 19-12-02 sandbox_web_selinux(8)