1fingerd_selinux(8) SELinux Policy fingerd fingerd_selinux(8)
2
3
4
6 fingerd_selinux - Security Enhanced Linux Policy for the fingerd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the fingerd processes via flexible
11 mandatory access control.
12
13 The fingerd processes execute with the fingerd_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 fingerd_t
20
21
22
24 The fingerd_t SELinux type can be entered via the fingerd_exec_t file
25 type.
26
27 The default entrypoint paths for the fingerd_t domain are the follow‐
28 ing:
29
30 /usr/sbin/[cef]fingerd, /usr/sbin/in.(x)?fingerd,
31 /etc/cron.weekly/(c)?fingerd
32
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 fingerd policy is very flexible allowing users to setup their fingerd
41 processes in as secure a method as possible.
42
43 The following process types are defined for fingerd:
44
45 fingerd_t
46
47 Note: semanage permissive -a fingerd_t can be used to make the process
48 type fingerd_t permissive. SELinux does not deny access to permissive
49 process types, but the AVC (SELinux denials) messages are still gener‐
50 ated.
51
52
54 SELinux policy is customizable based on least access required. fingerd
55 policy is extremely flexible and has several booleans that allow you to
56 manipulate the policy and run fingerd with the tightest access possi‐
57 ble.
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
98 SELinux defines port types to represent TCP and UDP ports.
99
100 You can see the types associated with a port by using the following
101 command:
102
103 semanage port -l
104
105
106 Policy governs the access confined processes have to these ports.
107 SELinux fingerd policy is very flexible allowing users to setup their
108 fingerd processes in as secure a method as possible.
109
110 The following port types are defined for fingerd:
111
112
113 fingerd_port_t
114
115
116
117 Default Defined Ports:
118 tcp 79
119
121 The SELinux process type fingerd_t can manage files labeled with the
122 following file types. The paths listed are the default paths for these
123 file types. Note the processes UID still need to have DAC permissions.
124
125 cluster_conf_t
126
127 /etc/cluster(/.*)?
128
129 cluster_var_lib_t
130
131 /var/lib/pcsd(/.*)?
132 /var/lib/cluster(/.*)?
133 /var/lib/openais(/.*)?
134 /var/lib/pengine(/.*)?
135 /var/lib/corosync(/.*)?
136 /usr/lib/heartbeat(/.*)?
137 /var/lib/heartbeat(/.*)?
138 /var/lib/pacemaker(/.*)?
139
140 cluster_var_run_t
141
142 /var/run/crm(/.*)?
143 /var/run/cman_.*
144 /var/run/rsctmp(/.*)?
145 /var/run/aisexec.*
146 /var/run/heartbeat(/.*)?
147 /var/run/corosync-qnetd(/.*)?
148 /var/run/corosync-qdevice(/.*)?
149 /var/run/corosync.pid
150 /var/run/cpglockd.pid
151 /var/run/rgmanager.pid
152 /var/run/cluster/rgmanager.sk
153
154 fingerd_var_run_t
155
156 /var/run/*.fingerd.pid
157
158 root_t
159
160 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
161 /
162 /initrd
163
164
166 SELinux requires files to have an extended attribute to define the file
167 type.
168
169 You can see the context of a file using the -Z option to ls
170
171 Policy governs the access confined processes have to these files.
172 SELinux fingerd policy is very flexible allowing users to setup their
173 fingerd processes in as secure a method as possible.
174
175 STANDARD FILE CONTEXT
176
177 SELinux defines the file context types for the fingerd, if you wanted
178 to store files with these types in a diffent paths, you need to execute
179 the semanage command to sepecify alternate labeling and then use
180 restorecon to put the labels on disk.
181
182 semanage fcontext -a -t fingerd_var_run_t '/srv/myfingerd_con‐
183 tent(/.*)?'
184 restorecon -R -v /srv/myfingerd_content
185
186 Note: SELinux often uses regular expressions to specify labels that
187 match multiple files.
188
189 The following file types are defined for fingerd:
190
191
192
193 fingerd_etc_t
194
195 - Set files with the fingerd_etc_t type, if you want to store fingerd
196 files in the /etc directories.
197
198
199
200 fingerd_exec_t
201
202 - Set files with the fingerd_exec_t type, if you want to transition an
203 executable to the fingerd_t domain.
204
205
206 Paths:
207 /usr/sbin/[cef]fingerd, /usr/sbin/in.(x)?fingerd,
208 /etc/cron.weekly/(c)?fingerd
209
210
211 fingerd_log_t
212
213 - Set files with the fingerd_log_t type, if you want to treat the data
214 as fingerd log data, usually stored under the /var/log directory.
215
216
217
218 fingerd_var_run_t
219
220 - Set files with the fingerd_var_run_t type, if you want to store the
221 fingerd files under the /run or /var/run directory.
222
223
224
225 Note: File context can be temporarily modified with the chcon command.
226 If you want to permanently change the file context you need to use the
227 semanage fcontext command. This will modify the SELinux labeling data‐
228 base. You will need to use restorecon to apply the labels.
229
230
232 semanage fcontext can also be used to manipulate default file context
233 mappings.
234
235 semanage permissive can also be used to manipulate whether or not a
236 process type is permissive.
237
238 semanage module can also be used to enable/disable/install/remove pol‐
239 icy modules.
240
241 semanage port can also be used to manipulate the port definitions
242
243 semanage boolean can also be used to manipulate the booleans
244
245
246 system-config-selinux is a GUI tool available to customize SELinux pol‐
247 icy settings.
248
249
251 This manual page was auto-generated using sepolicy manpage .
252
253
255 selinux(8), fingerd(8), semanage(8), restorecon(8), chcon(1), sepol‐
256 icy(8), setsebool(8)
257
258
259
260fingerd 19-12-02 fingerd_selinux(8)