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 all domains to execute in fips_mode, you must turn
62 on the fips_mode boolean. Enabled by default.
63
64 setsebool -P fips_mode 1
65
66
67
69 SELinux defines port types to represent TCP and UDP ports.
70
71 You can see the types associated with a port by using the following
72 command:
73
74 semanage port -l
75
76
77 Policy governs the access confined processes have to these ports.
78 SELinux fingerd policy is very flexible allowing users to setup their
79 fingerd processes in as secure a method as possible.
80
81 The following port types are defined for fingerd:
82
83
84 fingerd_port_t
85
86
87
88 Default Defined Ports:
89 tcp 79
90
92 The SELinux process type fingerd_t can manage files labeled with the
93 following file types. The paths listed are the default paths for these
94 file types. Note the processes UID still need to have DAC permissions.
95
96 cluster_conf_t
97
98 /etc/cluster(/.*)?
99
100 cluster_var_lib_t
101
102 /var/lib/pcsd(/.*)?
103 /var/lib/cluster(/.*)?
104 /var/lib/openais(/.*)?
105 /var/lib/pengine(/.*)?
106 /var/lib/corosync(/.*)?
107 /usr/lib/heartbeat(/.*)?
108 /var/lib/heartbeat(/.*)?
109 /var/lib/pacemaker(/.*)?
110
111 cluster_var_run_t
112
113 /var/run/crm(/.*)?
114 /var/run/cman_.*
115 /var/run/rsctmp(/.*)?
116 /var/run/aisexec.*
117 /var/run/heartbeat(/.*)?
118 /var/run/pcsd-ruby.socket
119 /var/run/corosync-qnetd(/.*)?
120 /var/run/corosync-qdevice(/.*)?
121 /var/run/corosync.pid
122 /var/run/cpglockd.pid
123 /var/run/rgmanager.pid
124 /var/run/cluster/rgmanager.sk
125
126 fingerd_var_run_t
127
128 /var/run/*.fingerd.pid
129
130 krb5_host_rcache_t
131
132 /var/tmp/krb5_0.rcache2
133 /var/cache/krb5rcache(/.*)?
134 /var/tmp/nfs_0
135 /var/tmp/DNS_25
136 /var/tmp/host_0
137 /var/tmp/imap_0
138 /var/tmp/HTTP_23
139 /var/tmp/HTTP_48
140 /var/tmp/ldap_55
141 /var/tmp/ldap_487
142 /var/tmp/ldapmap1_0
143
144 root_t
145
146 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
147 /
148 /initrd
149
150
152 SELinux requires files to have an extended attribute to define the file
153 type.
154
155 You can see the context of a file using the -Z option to ls
156
157 Policy governs the access confined processes have to these files.
158 SELinux fingerd policy is very flexible allowing users to setup their
159 fingerd processes in as secure a method as possible.
160
161 STANDARD FILE CONTEXT
162
163 SELinux defines the file context types for the fingerd, if you wanted
164 to store files with these types in a diffent paths, you need to execute
165 the semanage command to specify alternate labeling and then use re‐
166 storecon to put the labels on disk.
167
168 semanage fcontext -a -t fingerd_var_run_t '/srv/myfingerd_con‐
169 tent(/.*)?'
170 restorecon -R -v /srv/myfingerd_content
171
172 Note: SELinux often uses regular expressions to specify labels that
173 match multiple files.
174
175 The following file types are defined for fingerd:
176
177
178
179 fingerd_etc_t
180
181 - Set files with the fingerd_etc_t type, if you want to store fingerd
182 files in the /etc directories.
183
184
185
186 fingerd_exec_t
187
188 - Set files with the fingerd_exec_t type, if you want to transition an
189 executable to the fingerd_t domain.
190
191
192 Paths:
193 /usr/sbin/[cef]fingerd, /usr/sbin/in.(x)?fingerd,
194 /etc/cron.weekly/(c)?fingerd
195
196
197 fingerd_log_t
198
199 - Set files with the fingerd_log_t type, if you want to treat the data
200 as fingerd log data, usually stored under the /var/log directory.
201
202
203
204 fingerd_var_run_t
205
206 - Set files with the fingerd_var_run_t type, if you want to store the
207 fingerd files under the /run or /var/run directory.
208
209
210
211 Note: File context can be temporarily modified with the chcon command.
212 If you want to permanently change the file context you need to use the
213 semanage fcontext command. This will modify the SELinux labeling data‐
214 base. You will need to use restorecon to apply the labels.
215
216
218 semanage fcontext can also be used to manipulate default file context
219 mappings.
220
221 semanage permissive can also be used to manipulate whether or not a
222 process type is permissive.
223
224 semanage module can also be used to enable/disable/install/remove pol‐
225 icy modules.
226
227 semanage port can also be used to manipulate the port definitions
228
229 semanage boolean can also be used to manipulate the booleans
230
231
232 system-config-selinux is a GUI tool available to customize SELinux pol‐
233 icy settings.
234
235
237 This manual page was auto-generated using sepolicy manpage .
238
239
241 selinux(8), fingerd(8), semanage(8), restorecon(8), chcon(1), sepol‐
242 icy(8), setsebool(8)
243
244
245
246fingerd 23-02-03 fingerd_selinux(8)