1cockpit_session_selinux(8S)ELinux Policy cockpit_sessiocnockpit_session_selinux(8)
2
3
4

NAME

6       cockpit_session_selinux  - Security Enhanced Linux Policy for the cock‐
7       pit_session processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  cockpit_session_t SELinux type can be entered via the cockpit_ses‐
25       sion_exec_t file type.
26
27       The default entrypoint paths for the cockpit_session_t domain  are  the
28       following:
29
30       /usr/libexec/cockpit-ssh,                 /usr/libexec/cockpit-session,
31       /usr/libexec/cockpit-cert-session
32

PROCESS TYPES

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

BOOLEANS

54       SELinux policy is customizable based on least access  required.   cock‐
55       pit_session  policy is extremely flexible and has several booleans that
56       allow you to manipulate the policy and  run  cockpit_session  with  the
57       tightest access possible.
58
59
60
61       If you want to allow users to resolve user passwd entries directly from
62       ldap rather then using a sssd server, you  must  turn  on  the  authlo‐
63       gin_nsswitch_use_ldap boolean. Disabled by default.
64
65       setsebool -P authlogin_nsswitch_use_ldap 1
66
67
68
69       If you want to allow all domains to execute in fips_mode, you must turn
70       on the fips_mode boolean. Enabled by default.
71
72       setsebool -P fips_mode 1
73
74
75
76       If you want to allow confined applications to run  with  kerberos,  you
77       must turn on the kerberos_enabled boolean. Disabled by default.
78
79       setsebool -P kerberos_enabled 1
80
81
82
83       If  you  want  to  allow  system  to run with NIS, you must turn on the
84       nis_enabled boolean. Disabled by default.
85
86       setsebool -P nis_enabled 1
87
88
89
90       If you want to allow confined applications to use nscd  shared  memory,
91       you must turn on the nscd_use_shm boolean. Disabled by default.
92
93       setsebool -P nscd_use_shm 1
94
95
96
97       If you want to enable polyinstantiated directory support, you must turn
98       on the polyinstantiation_enabled boolean. Disabled by default.
99
100       setsebool -P polyinstantiation_enabled 1
101
102
103

MANAGED FILES

105       The SELinux process type cockpit_session_t  can  manage  files  labeled
106       with  the following file types.  The paths listed are the default paths
107       for these file types.  Note the processes UID still need  to  have  DAC
108       permissions.
109
110       auth_cache_t
111
112            /var/cache/coolkey(/.*)?
113
114       auth_home_t
115
116            /root/.yubico(/.*)?
117            /root/.google_authenticator
118            /root/.google_authenticator~
119            /home/[^/]+/.yubico(/.*)?
120            /home/[^/]+/.google_authenticator
121            /home/[^/]+/.google_authenticator~
122
123       cgroup_t
124
125            /sys/fs/cgroup
126
127       cockpit_tmp_t
128
129
130       cockpit_tmpfs_t
131
132
133       faillog_t
134
135            /var/log/btmp.*
136            /var/log/faillog.*
137            /var/log/tallylog.*
138            /var/run/faillock(/.*)?
139
140       initrc_var_run_t
141
142            /var/run/utmp
143            /var/run/random-seed
144            /var/run/runlevel.dir
145            /var/run/setmixer_flag
146
147       kdbusfs_t
148
149
150       krb5_host_rcache_t
151
152            /var/cache/krb5rcache(/.*)?
153            /var/tmp/nfs_0
154            /var/tmp/DNS_25
155            /var/tmp/host_0
156            /var/tmp/imap_0
157            /var/tmp/HTTP_23
158            /var/tmp/HTTP_48
159            /var/tmp/ldap_55
160            /var/tmp/ldap_487
161            /var/tmp/ldapmap1_0
162
163       lastlog_t
164
165            /var/log/lastlog.*
166
167       pam_var_run_t
168
169            /var/(db|adm)/sudo(/.*)?
170            /var/lib/sudo(/.*)?
171            /var/run/sudo(/.*)?
172            /var/run/motd.d(/.*)?
173            /var/run/sepermit(/.*)?
174            /var/run/pam_mount(/.*)?
175            /var/run/motd
176
177       passwd_file_t
178
179            /etc/group[-+]?
180            /etc/passwd[-+]?
181            /etc/passwd.adjunct.*
182            /etc/ptmptmp
183            /etc/.pwd.lock
184            /etc/group.lock
185            /etc/passwd.OLD
186            /etc/passwd.lock
187
188       security_t
189
190            /selinux
191
192       shadow_t
193
194            /etc/shadow.*
195            /etc/gshadow.*
196            /etc/nshadow.*
197            /var/db/shadow.*
198            /etc/security/opasswd
199            /etc/security/opasswd.old
200
201       user_tmp_t
202
203            /dev/shm/mono.*
204            /var/run/user(/.*)?
205            /tmp/.ICE-unix(/.*)?
206            /tmp/.X11-unix(/.*)?
207            /dev/shm/pulse-shm.*
208            /tmp/.X0-lock
209            /tmp/hsperfdata_root
210            /var/tmp/hsperfdata_root
211            /home/[^/]+/tmp
212            /home/[^/]+/.tmp
213            /tmp/gconfd-[^/]+
214
215       var_auth_t
216
217            /var/ace(/.*)?
218            /var/rsa(/.*)?
219            /var/lib/abl(/.*)?
220            /var/lib/rsa(/.*)?
221            /var/lib/pam_ssh(/.*)?
222            /var/run/pam_ssh(/.*)?
223            /var/lib/pam_shield(/.*)?
224            /var/opt/quest/vas/vasd(/.*)?
225            /var/lib/google-authenticator(/.*)?
226
227       wtmp_t
228
229            /var/log/wtmp.*
230
231

FILE CONTEXTS

233       SELinux requires files to have an extended attribute to define the file
234       type.
235
236       You can see the context of a file using the -Z option to ls
237
238       Policy governs the access  confined  processes  have  to  these  files.
239       SELinux cockpit_session policy is very flexible allowing users to setup
240       their cockpit_session processes in as secure a method as possible.
241
242       The following file types are defined for cockpit_session:
243
244
245
246       cockpit_session_exec_t
247
248       - Set files with the cockpit_session_exec_t type, if you want to  tran‐
249       sition an executable to the cockpit_session_t domain.
250
251
252       Paths:
253            /usr/libexec/cockpit-ssh,            /usr/libexec/cockpit-session,
254            /usr/libexec/cockpit-cert-session
255
256
257       Note: File context can be temporarily modified with the chcon  command.
258       If  you want to permanently change the file context you need to use the
259       semanage fcontext command.  This will modify the SELinux labeling data‐
260       base.  You will need to use restorecon to apply the labels.
261
262

COMMANDS

264       semanage  fcontext  can also be used to manipulate default file context
265       mappings.
266
267       semanage permissive can also be used to manipulate  whether  or  not  a
268       process type is permissive.
269
270       semanage  module can also be used to enable/disable/install/remove pol‐
271       icy modules.
272
273       semanage boolean can also be used to manipulate the booleans
274
275
276       system-config-selinux is a GUI tool available to customize SELinux pol‐
277       icy settings.
278
279

AUTHOR

281       This manual page was auto-generated using sepolicy manpage .
282
283

SEE ALSO

285       selinux(8),  cockpit_session(8),  semanage(8), restorecon(8), chcon(1),
286       sepolicy(8), setsebool(8)
287
288
289
290cockpit_session                    19-12-02         cockpit_session_selinux(8)
Impressum