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 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 confined applications to run with kerberos, you
68       must turn on the kerberos_enabled boolean. Disabled by default.
69
70       setsebool -P kerberos_enabled 1
71
72
73
74       If you want to allow system to run with  NIS,  you  must  turn  on  the
75       nis_enabled boolean. Disabled by default.
76
77       setsebool -P nis_enabled 1
78
79
80
81       If you want to enable polyinstantiated directory support, you must turn
82       on the polyinstantiation_enabled boolean. Disabled by default.
83
84       setsebool -P polyinstantiation_enabled 1
85
86
87

MANAGED FILES

89       The SELinux process type cockpit_session_t  can  manage  files  labeled
90       with  the following file types.  The paths listed are the default paths
91       for these file types.  Note the processes UID still need  to  have  DAC
92       permissions.
93
94       auth_cache_t
95
96            /var/cache/coolkey(/.*)?
97
98       auth_home_t
99
100            /root/.yubico(/.*)?
101            /root/.google_authenticator
102            /root/.google_authenticator~
103            /home/[^/]+/.yubico(/.*)?
104            /home/[^/]+/.google_authenticator
105            /home/[^/]+/.google_authenticator~
106
107       cgroup_t
108
109            /sys/fs/cgroup
110
111       faillog_t
112
113            /var/log/btmp.*
114            /var/log/faillog.*
115            /var/log/tallylog.*
116            /var/run/faillock(/.*)?
117
118       initrc_var_run_t
119
120            /var/run/utmp
121            /var/run/random-seed
122            /var/run/runlevel.dir
123            /var/run/setmixer_flag
124
125       kdbusfs_t
126
127
128       lastlog_t
129
130            /var/log/lastlog.*
131
132       pam_var_run_t
133
134            /var/(db|adm)/sudo(/.*)?
135            /var/lib/sudo(/.*)?
136            /var/run/sudo(/.*)?
137            /var/run/motd.d(/.*)?
138            /var/run/pam_ssh(/.*)?
139            /var/run/sepermit(/.*)?
140            /var/run/pam_mount(/.*)?
141            /var/run/pam_timestamp(/.*)?
142            /var/run/motd
143
144       security_t
145
146            /selinux
147
148       shadow_t
149
150            /etc/shadow.*
151            /etc/gshadow.*
152            /etc/nshadow.*
153            /var/db/shadow.*
154            /etc/security/opasswd
155            /etc/security/opasswd.old
156
157       var_auth_t
158
159            /var/ace(/.*)?
160            /var/rsa(/.*)?
161            /var/lib/abl(/.*)?
162            /var/lib/rsa(/.*)?
163            /var/lib/pam_ssh(/.*)?
164            /var/lib/pam_shield(/.*)?
165            /var/opt/quest/vas/vasd(/.*)?
166            /var/lib/google-authenticator(/.*)?
167
168       wtmp_t
169
170            /var/log/wtmp.*
171
172

FILE CONTEXTS

174       SELinux requires files to have an extended attribute to define the file
175       type.
176
177       You can see the context of a file using the -Z option to ls
178
179       Policy governs the access  confined  processes  have  to  these  files.
180       SELinux cockpit_session policy is very flexible allowing users to setup
181       their cockpit_session processes in as secure a method as possible.
182
183       The following file types are defined for cockpit_session:
184
185
186
187       cockpit_session_exec_t
188
189       - Set files with the cockpit_session_exec_t type, if you want to  tran‐
190       sition an executable to the cockpit_session_t domain.
191
192
193       Paths:
194            /usr/libexec/cockpit-ssh, /usr/libexec/cockpit-session
195
196
197       Note:  File context can be temporarily modified with the chcon command.
198       If you want to permanently change the file context you need to use  the
199       semanage fcontext command.  This will modify the SELinux labeling data‐
200       base.  You will need to use restorecon to apply the labels.
201
202

COMMANDS

204       semanage fcontext can also be used to manipulate default  file  context
205       mappings.
206
207       semanage  permissive  can  also  be used to manipulate whether or not a
208       process type is permissive.
209
210       semanage module can also be used to enable/disable/install/remove  pol‐
211       icy modules.
212
213       semanage boolean can also be used to manipulate the booleans
214
215
216       system-config-selinux is a GUI tool available to customize SELinux pol‐
217       icy settings.
218
219

AUTHOR

221       This manual page was auto-generated using sepolicy manpage .
222
223

SEE ALSO

225       selinux(8), cockpit_session(8), semanage(8),  restorecon(8),  chcon(1),
226       sepolicy(8), setsebool(8)
227
228
229
230cockpit_session                    20-05-05         cockpit_session_selinux(8)
Impressum