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

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       cockpit_session  policy  is very flexible allowing users to setup their
40       cockpit_session processes in as secure a method as possible.
41
42       The following process types are defined for cockpit_session:
43
44       cockpit_session_t
45
46       Note: semanage permissive -a cockpit_session_t can be used to make  the
47       process type cockpit_session_t permissive. SELinux does not deny access
48       to 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.  cock‐
54       pit_session policy is extremely flexible and has several booleans  that
55       allow  you  to  manipulate  the policy and run cockpit_session with the
56       tightest access possible.
57
58
59
60       If you want to allow users to resolve user passwd entries directly from
61       ldap  rather  then  using  a  sssd server, you must turn on the authlo‐
62       gin_nsswitch_use_ldap boolean. Disabled by default.
63
64       setsebool -P authlogin_nsswitch_use_ldap 1
65
66
67
68       If you want to allow all domains to execute in fips_mode, you must turn
69       on the fips_mode boolean. Enabled by default.
70
71       setsebool -P fips_mode 1
72
73
74
75       If  you  want  to allow confined applications to run with kerberos, you
76       must turn on the kerberos_enabled boolean. Enabled by default.
77
78       setsebool -P kerberos_enabled 1
79
80
81
82       If you want to allow system to run with  NIS,  you  must  turn  on  the
83       nis_enabled boolean. Disabled by default.
84
85       setsebool -P nis_enabled 1
86
87
88
89       If  you  want to allow confined applications to use nscd shared memory,
90       you must turn on the nscd_use_shm boolean. Enabled by default.
91
92       setsebool -P nscd_use_shm 1
93
94
95
96       If you want to enable polyinstantiated directory support, you must turn
97       on the polyinstantiation_enabled boolean. Disabled by default.
98
99       setsebool -P polyinstantiation_enabled 1
100
101
102

MANAGED FILES

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

FILE CONTEXTS

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

COMMANDS

257       semanage  fcontext  can also be used to manipulate default file context
258       mappings.
259
260       semanage permissive can also be used to manipulate  whether  or  not  a
261       process type is permissive.
262
263       semanage  module can also be used to enable/disable/install/remove pol‐
264       icy modules.
265
266       semanage boolean can also be used to manipulate the booleans
267
268
269       system-config-selinux is a GUI tool available to customize SELinux pol‐
270       icy settings.
271
272

AUTHOR

274       This manual page was auto-generated using sepolicy manpage .
275
276

SEE ALSO

278       selinux(8),  cockpit_session(8),  semanage(8), restorecon(8), chcon(1),
279       sepolicy(8), setsebool(8)
280
281
282
283cockpit_session                    19-10-08         cockpit_session_selinux(8)
Impressum