1kpropd_selinux(8) SELinux Policy kpropd kpropd_selinux(8)
2
3
4
6 kpropd_selinux - Security Enhanced Linux Policy for the kpropd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the kpropd processes via flexible
11 mandatory access control.
12
13 The kpropd processes execute with the kpropd_t SELinux type. You can
14 check if you have these processes running by executing the ps command
15 with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep kpropd_t
20
21
22
24 The kpropd_t SELinux type can be entered via the kpropd_exec_t file
25 type.
26
27 The default entrypoint paths for the kpropd_t domain are the following:
28
29 /usr/sbin/kpropd, /usr/sbin/_kpropd, /usr/kerberos/sbin/kpropd
30
32 SELinux defines process types (domains) for each process running on the
33 system
34
35 You can see the context of a process using the -Z option to ps
36
37 Policy governs the access confined processes have to files. SELinux
38 kpropd policy is very flexible allowing users to setup their kpropd
39 processes in as secure a method as possible.
40
41 The following process types are defined for kpropd:
42
43 kpropd_t
44
45 Note: semanage permissive -a kpropd_t can be used to make the process
46 type kpropd_t permissive. SELinux does not deny access to permissive
47 process types, but the AVC (SELinux denials) messages are still gener‐
48 ated.
49
50
52 SELinux policy is customizable based on least access required. kpropd
53 policy is extremely flexible and has several booleans that allow you to
54 manipulate the policy and run kpropd with the tightest access possible.
55
56
57
58 If you want to allow users to resolve user passwd entries directly from
59 ldap rather then using a sssd server, you must turn on the authlo‐
60 gin_nsswitch_use_ldap boolean. Disabled by default.
61
62 setsebool -P authlogin_nsswitch_use_ldap 1
63
64
65
66 If you want to allow all domains to execute in fips_mode, you must turn
67 on the fips_mode boolean. Enabled by default.
68
69 setsebool -P fips_mode 1
70
71
72
73 If you want to allow confined applications to run with kerberos, you
74 must turn on the kerberos_enabled boolean. Disabled by default.
75
76 setsebool -P kerberos_enabled 1
77
78
79
80 If you want to allow system to run with NIS, you must turn on the
81 nis_enabled boolean. Disabled by default.
82
83 setsebool -P nis_enabled 1
84
85
86
87 If you want to allow confined applications to use nscd shared memory,
88 you must turn on the nscd_use_shm boolean. Disabled by default.
89
90 setsebool -P nscd_use_shm 1
91
92
93
95 SELinux defines port types to represent TCP and UDP ports.
96
97 You can see the types associated with a port by using the following
98 command:
99
100 semanage port -l
101
102
103 Policy governs the access confined processes have to these ports.
104 SELinux kpropd policy is very flexible allowing users to setup their
105 kpropd processes in as secure a method as possible.
106
107 The following port types are defined for kpropd:
108
109
110 kprop_port_t
111
112
113
114 Default Defined Ports:
115 tcp 754
116
118 The SELinux process type kpropd_t can manage files labeled with the
119 following file types. The paths listed are the default paths for these
120 file types. Note the processes UID still need to have DAC permissions.
121
122 cluster_conf_t
123
124 /etc/cluster(/.*)?
125
126 cluster_var_lib_t
127
128 /var/lib/pcsd(/.*)?
129 /var/lib/cluster(/.*)?
130 /var/lib/openais(/.*)?
131 /var/lib/pengine(/.*)?
132 /var/lib/corosync(/.*)?
133 /usr/lib/heartbeat(/.*)?
134 /var/lib/heartbeat(/.*)?
135 /var/lib/pacemaker(/.*)?
136
137 cluster_var_run_t
138
139 /var/run/crm(/.*)?
140 /var/run/cman_.*
141 /var/run/rsctmp(/.*)?
142 /var/run/aisexec.*
143 /var/run/heartbeat(/.*)?
144 /var/run/corosync-qnetd(/.*)?
145 /var/run/corosync-qdevice(/.*)?
146 /var/run/corosync.pid
147 /var/run/cpglockd.pid
148 /var/run/rgmanager.pid
149 /var/run/cluster/rgmanager.sk
150
151 krb5_host_rcache_t
152
153 /var/cache/krb5rcache(/.*)?
154 /var/tmp/nfs_0
155 /var/tmp/DNS_25
156 /var/tmp/host_0
157 /var/tmp/imap_0
158 /var/tmp/HTTP_23
159 /var/tmp/HTTP_48
160 /var/tmp/ldap_55
161 /var/tmp/ldap_487
162 /var/tmp/ldapmap1_0
163
164 krb5kdc_lock_t
165
166 /var/kerberos/krb5kdc/principal.*.ok
167 /var/kerberos/krb5kdc/from_master.*
168
169 krb5kdc_principal_t
170
171 /etc/krb5kdc/principal.*
172 /usr/var/krb5kdc/principal.*
173 /var/kerberos/krb5kdc/principal.*
174
175 krb5kdc_tmp_t
176
177
178 root_t
179
180 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
181 /
182 /initrd
183
184 security_t
185
186 /selinux
187
188
190 SELinux requires files to have an extended attribute to define the file
191 type.
192
193 You can see the context of a file using the -Z option to ls
194
195 Policy governs the access confined processes have to these files.
196 SELinux kpropd policy is very flexible allowing users to setup their
197 kpropd processes in as secure a method as possible.
198
199 The following file types are defined for kpropd:
200
201
202
203 kpropd_exec_t
204
205 - Set files with the kpropd_exec_t type, if you want to transition an
206 executable to the kpropd_t domain.
207
208
209 Paths:
210 /usr/sbin/kpropd, /usr/sbin/_kpropd, /usr/kerberos/sbin/kpropd
211
212
213 Note: File context can be temporarily modified with the chcon command.
214 If you want to permanently change the file context you need to use the
215 semanage fcontext command. This will modify the SELinux labeling data‐
216 base. You will need to use restorecon to apply the labels.
217
218
220 semanage fcontext can also be used to manipulate default file context
221 mappings.
222
223 semanage permissive can also be used to manipulate whether or not a
224 process type is permissive.
225
226 semanage module can also be used to enable/disable/install/remove pol‐
227 icy modules.
228
229 semanage port can also be used to manipulate the port definitions
230
231 semanage boolean can also be used to manipulate the booleans
232
233
234 system-config-selinux is a GUI tool available to customize SELinux pol‐
235 icy settings.
236
237
239 This manual page was auto-generated using sepolicy manpage .
240
241
243 selinux(8), kpropd(8), semanage(8), restorecon(8), chcon(1), sepol‐
244 icy(8), setsebool(8)
245
246
247
248kpropd 19-12-02 kpropd_selinux(8)