Debian Codegraph @

selinux/cockpit_ws_selinux.8cockpit

raw
1 .TH "cockpit_ws_selinux" "8" "21-04-16" "cockpit_ws" "SELinux Policy cockpit_ws"
2 .SH "NAME"
3 cockpit_ws_selinux \- Security Enhanced Linux Policy for the cockpit_ws processes
4 .SH "DESCRIPTION"
5
6 Security-Enhanced Linux secures the cockpit_ws processes via flexible mandatory access control.
7
8 The cockpit_ws processes execute with the cockpit_ws_t SELinux type. You can check if you have these processes running by executing the \fBps\fP command with the \fB\-Z\fP qualifier.
9
10 For example:
11
12 .B ps -eZ | grep cockpit_ws_t
13
14
15 .SH "ENTRYPOINTS"
16
17 The cockpit_ws_t SELinux type can be entered via the \fBcockpit_ws_exec_t\fP file type.
18
19 The default entrypoint paths for the cockpit_ws_t domain are the following:
20
21 /usr/libexec/cockpit-ws, /usr/libexec/cockpit-tls, /usr/libexec/cockpit-wsinstance-factory
22 .SH PROCESS TYPES
23 SELinux defines process types (domains) for each process running on the system
24 .PP
25 You can see the context of a process using the \fB\-Z\fP option to \fBps\bP
26 .PP
27 Policy governs the access confined processes have to files.
28 SELinux cockpit_ws policy is very flexible allowing users to setup their cockpit_ws processes in as secure a method as possible.
29 .PP
30 The following process types are defined for cockpit_ws:
31
32 .EX
33 .B cockpit_ws_t
34 .EE
35 .PP
36 Note:
37 .B semanage permissive -a cockpit_ws_t
38 can be used to make the process type cockpit_ws_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated.
39
40 .SH BOOLEANS
41 SELinux policy is customizable based on least access required. cockpit_ws policy is extremely flexible and has several booleans that allow you to manipulate the policy and run cockpit_ws with the tightest access possible.
42
43
44 .PP
45 If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default.
46
47 .EX
48 .B setsebool -P fips_mode 1
49
50 .EE
51
52 .SH "MANAGED FILES"
53
54 The SELinux process type cockpit_ws_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions.
55
56 .br
57 .B cluster_conf_t
58
59 /etc/cluster(/.*)?
60 .br
61
62 .br
63 .B cluster_var_lib_t
64
65 /var/lib/pcsd(/.*)?
66 .br
67 /var/lib/cluster(/.*)?
68 .br
69 /var/lib/openais(/.*)?
70 .br
71 /var/lib/pengine(/.*)?
72 .br
73 /var/lib/corosync(/.*)?
74 .br
75 /usr/lib/heartbeat(/.*)?
76 .br
77 /var/lib/heartbeat(/.*)?
78 .br
79 /var/lib/pacemaker(/.*)?
80 .br
81
82 .br
83 .B cluster_var_run_t
84
85 /var/run/crm(/.*)?
86 .br
87 /var/run/cman_.*
88 .br
89 /var/run/rsctmp(/.*)?
90 .br
91 /var/run/aisexec.*
92 .br
93 /var/run/heartbeat(/.*)?
94 .br
95 /var/run/pcsd-ruby.socket
96 .br
97 /var/run/corosync-qnetd(/.*)?
98 .br
99 /var/run/corosync-qdevice(/.*)?
100 .br
101 /var/run/corosync\.pid
102 .br
103 /var/run/cpglockd\.pid
104 .br
105 /var/run/rgmanager\.pid
106 .br
107 /var/run/cluster/rgmanager\.sk
108 .br
109
110 .br
111 .B cockpit_var_lib_t
112
113 /var/lib/cockpit(/.*)?
114 .br
115
116 .br
117 .B cockpit_var_run_t
118
119 /var/run/cockpit(/.*)?
120 .br
121 /var/run/cockpit-ws(/.*)?
122 .br
123
124 .br
125 .B krb5_keytab_t
126
127 /var/kerberos/krb5(/.*)?
128 .br
129 /etc/krb5\.keytab
130 .br
131 /etc/krb5kdc/kadm5\.keytab
132 .br
133 /var/kerberos/krb5kdc/kadm5\.keytab
134 .br
135
136 .br
137 .B root_t
138
139 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
140 .br
141 /
142 .br
143 /initrd
144 .br
145
146 .br
147 .B systemd_passwd_var_run_t
148
149 /var/run/systemd/ask-password(/.*)?
150 .br
151 /var/run/systemd/ask-password-block(/.*)?
152 .br
153
154 .SH FILE CONTEXTS
155 SELinux requires files to have an extended attribute to define the file type.
156 .PP
157 You can see the context of a file using the \fB\-Z\fP option to \fBls\bP
158 .PP
159 Policy governs the access confined processes have to these files.
160 SELinux cockpit_ws policy is very flexible allowing users to setup their cockpit_ws processes in as secure a method as possible.
161 .PP
162
163 .I The following file types are defined for cockpit_ws:
164
165
166 .EX
167 .PP
168 .B cockpit_ws_exec_t
169 .EE
170
171 - Set files with the cockpit_ws_exec_t type, if you want to transition an executable to the cockpit_ws_t domain.
172
173 .br
174 .TP 5
175 Paths:
176 /usr/libexec/cockpit-ws, /usr/libexec/cockpit-tls, /usr/libexec/cockpit-wsinstance-factory
177
178 .PP
179 Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the
180 .B semanage fcontext
181 command. This will modify the SELinux labeling database. You will need to use
182 .B restorecon
183 to apply the labels.
184
185 .SH "COMMANDS"
186 .B semanage fcontext
187 can also be used to manipulate default file context mappings.
188 .PP
189 .B semanage permissive
190 can also be used to manipulate whether or not a process type is permissive.
191 .PP
192 .B semanage module
193 can also be used to enable/disable/install/remove policy modules.
194
195 .B semanage boolean
196 can also be used to manipulate the booleans
197
198 .PP
199 .B system-config-selinux
200 is a GUI tool available to customize SELinux policy settings.
201
202 .SH AUTHOR
203 This manual page was auto-generated using
204 .B "sepolicy manpage".
205
206 .SH "SEE ALSO"
207 selinux(8), cockpit_ws(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)