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 dontaudit all daemons scheduling requests (setsched,
62 sys_nice), you must turn on the daemons_dontaudit_scheduling boolean.
63 Enabled by default.
64
65 setsebool -P daemons_dontaudit_scheduling 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 system to run with NIS, you must turn on the
77 nis_enabled boolean. Disabled by default.
78
79 setsebool -P nis_enabled 1
80
81
82
84 SELinux defines port types to represent TCP and UDP ports.
85
86 You can see the types associated with a port by using the following
87 command:
88
89 semanage port -l
90
91
92 Policy governs the access confined processes have to these ports.
93 SELinux fingerd policy is very flexible allowing users to setup their
94 fingerd processes in as secure a method as possible.
95
96 The following port types are defined for fingerd:
97
98
99 fingerd_port_t
100
101
102
103 Default Defined Ports:
104 tcp 79
105
107 The SELinux process type fingerd_t can manage files labeled with the
108 following file types. The paths listed are the default paths for these
109 file types. Note the processes UID still need to have DAC permissions.
110
111 cluster_conf_t
112
113 /etc/cluster(/.*)?
114
115 cluster_var_lib_t
116
117 /var/lib/pcsd(/.*)?
118 /var/lib/cluster(/.*)?
119 /var/lib/openais(/.*)?
120 /var/lib/pengine(/.*)?
121 /var/lib/corosync(/.*)?
122 /usr/lib/heartbeat(/.*)?
123 /var/lib/heartbeat(/.*)?
124 /var/lib/pacemaker(/.*)?
125
126 cluster_var_run_t
127
128 /var/run/crm(/.*)?
129 /var/run/cman_.*
130 /var/run/rsctmp(/.*)?
131 /var/run/aisexec.*
132 /var/run/heartbeat(/.*)?
133 /var/run/pcsd-ruby.socket
134 /var/run/corosync-qnetd(/.*)?
135 /var/run/corosync-qdevice(/.*)?
136 /var/run/corosync.pid
137 /var/run/cpglockd.pid
138 /var/run/rgmanager.pid
139 /var/run/cluster/rgmanager.sk
140
141 fingerd_var_run_t
142
143 /var/run/*.fingerd.pid
144
145 krb5_host_rcache_t
146
147 /var/tmp/krb5_0.rcache2
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 root_t
160
161 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
162 /
163 /initrd
164
165
167 SELinux requires files to have an extended attribute to define the file
168 type.
169
170 You can see the context of a file using the -Z option to ls
171
172 Policy governs the access confined processes have to these files.
173 SELinux fingerd policy is very flexible allowing users to setup their
174 fingerd processes in as secure a method as possible.
175
176 STANDARD FILE CONTEXT
177
178 SELinux defines the file context types for the fingerd, if you wanted
179 to store files with these types in a different paths, you need to exe‐
180 cute the semanage command to specify alternate labeling and then use
181 restorecon to put the labels on disk.
182
183 semanage fcontext -a -t fingerd_exec_t '/srv/fingerd/content(/.*)?'
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 23-10-20 fingerd_selinux(8)