1fingerd_selinux(8)          SELinux Policy fingerd          fingerd_selinux(8)
2
3
4

NAME

6       fingerd_selinux  -  Security Enhanced Linux Policy for the fingerd pro‐
7       cesses
8

DESCRIPTION

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

ENTRYPOINTS

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, /etc/cron.weekly/(c)?fingerd, /usr/sbin/in.fin‐
31       gerd
32

PROCESS TYPES

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

BOOLEANS

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 daemons to write corefiles to /, you must turn
62       on the allow_daemons_dump_core boolean. Disabled by default.
63
64       setsebool -P allow_daemons_dump_core 1
65
66
67
68       If you want to allow all daemons to use tcp wrappers, you must turn  on
69       the allow_daemons_use_tcp_wrapper boolean. Disabled by default.
70
71       setsebool -P allow_daemons_use_tcp_wrapper 1
72
73
74
75       If  you  want to allow all daemons the ability to read/write terminals,
76       you  must  turn  on  the  allow_daemons_use_tty  boolean.  Disabled  by
77       default.
78
79       setsebool -P allow_daemons_use_tty 1
80
81
82
83       If you want to allow all domains to use other domains file descriptors,
84       you must turn on the allow_domain_fd_use boolean. Enabled by default.
85
86       setsebool -P allow_domain_fd_use 1
87
88
89
90       If you want to allow confined applications to run  with  kerberos,  you
91       must turn on the allow_kerberos boolean. Enabled by default.
92
93       setsebool -P allow_kerberos 1
94
95
96
97       If  you want to allow sysadm to debug or ptrace all processes, you must
98       turn on the allow_ptrace boolean. Disabled by default.
99
100       setsebool -P allow_ptrace 1
101
102
103
104       If you want to allow system to run with  NIS,  you  must  turn  on  the
105       allow_ypbind boolean. Disabled by default.
106
107       setsebool -P allow_ypbind 1
108
109
110
111       If  you  want  to enable cluster mode for daemons, you must turn on the
112       daemons_enable_cluster_mode boolean. Disabled by default.
113
114       setsebool -P daemons_enable_cluster_mode 1
115
116
117
118       If you want to allow all domains to have the kernel load  modules,  you
119       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
120       default.
121
122       setsebool -P domain_kernel_load_modules 1
123
124
125
126       If you want to allow all domains to execute in fips_mode, you must turn
127       on the fips_mode boolean. Enabled by default.
128
129       setsebool -P fips_mode 1
130
131
132
133       If you want to enable reading of urandom for all domains, you must turn
134       on the global_ssp boolean. Disabled by default.
135
136       setsebool -P global_ssp 1
137
138
139
140       If you want to enable support for upstart as the init program, you must
141       turn on the init_upstart boolean. Enabled by default.
142
143       setsebool -P init_upstart 1
144
145
146
147       If  you  want to allow confined applications to use nscd shared memory,
148       you must turn on the nscd_use_shm boolean. Enabled by default.
149
150       setsebool -P nscd_use_shm 1
151
152
153

PORT TYPES

155       SELinux defines port types to represent TCP and UDP ports.
156
157       You can see the types associated with a port  by  using  the  following
158       command:
159
160       semanage port -l
161
162
163       Policy  governs  the  access  confined  processes  have to these ports.
164       SELinux fingerd policy is very flexible allowing users to  setup  their
165       fingerd processes in as secure a method as possible.
166
167       The following port types are defined for fingerd:
168
169
170       fingerd_port_t
171
172
173
174       Default Defined Ports:
175                 tcp 79
176

MANAGED FILES

178       The  SELinux  process  type fingerd_t can manage files labeled with the
179       following file types.  The paths listed are the default paths for these
180       file types.  Note the processes UID still need to have DAC permissions.
181
182       cluster_conf_t
183
184            /etc/cluster(/.*)?
185
186       cluster_var_lib_t
187
188            /var/lib(64)?/openais(/.*)?
189            /var/lib(64)?/pengine(/.*)?
190            /var/lib(64)?/corosync(/.*)?
191            /usr/lib(64)?/heartbeat(/.*)?
192            /var/lib(64)?/heartbeat(/.*)?
193            /var/lib(64)?/pacemaker(/.*)?
194            /var/lib/cluster(/.*)?
195
196       cluster_var_run_t
197
198            /var/run/crm(/.*)?
199            /var/run/cman_.*
200            /var/run/rsctmp(/.*)?
201            /var/run/aisexec.*
202            /var/run/heartbeat(/.*)?
203            /var/run/cpglockd.pid
204            /var/run/corosync.pid
205            /var/run/rgmanager.pid
206            /var/run/cluster/rgmanager.sk
207
208       fingerd_log_t
209
210            /var/log/cfingerd.log.*
211
212       fingerd_var_run_t
213
214
215       initrc_tmp_t
216
217
218       mnt_t
219
220            /mnt(/[^/]*)
221            /mnt(/[^/]*)?
222            /rhev(/[^/]*)?
223            /media(/[^/]*)
224            /media(/[^/]*)?
225            /etc/rhgb(/.*)?
226            /media/.hal-.*
227            /net
228            /afs
229            /rhev
230            /misc
231
232       root_t
233
234            /
235            /initrd
236
237       tmp_t
238
239            /tmp
240            /usr/tmp
241            /var/tmp
242            /tmp-inst
243            /var/tmp-inst
244            /var/tmp/vi.recover
245
246

FILE CONTEXTS

248       SELinux requires files to have an extended attribute to define the file
249       type.
250
251       You can see the context of a file using the -Z option to ls
252
253       Policy governs the access  confined  processes  have  to  these  files.
254       SELinux  fingerd  policy is very flexible allowing users to setup their
255       fingerd processes in as secure a method as possible.
256
257       STANDARD FILE CONTEXT
258
259       SELinux defines the file context types for the fingerd, if  you  wanted
260       to store files with these types in a diffent paths, you need to execute
261       the semanage command  to  sepecify  alternate  labeling  and  then  use
262       restorecon to put the labels on disk.
263
264       semanage   fcontext   -a   -t   fingerd_var_run_t  '/srv/myfingerd_con‐
265       tent(/.*)?'
266       restorecon -R -v /srv/myfingerd_content
267
268       Note: SELinux often uses regular expressions  to  specify  labels  that
269       match multiple files.
270
271       The following file types are defined for fingerd:
272
273
274
275       fingerd_etc_t
276
277       -  Set  files with the fingerd_etc_t type, if you want to store fingerd
278       files in the /etc directories.
279
280
281
282       fingerd_exec_t
283
284       - Set files with the fingerd_exec_t type, if you want to transition  an
285       executable to the fingerd_t domain.
286
287
288       Paths:
289            /usr/sbin/[cef]fingerd,              /etc/cron.weekly/(c)?fingerd,
290            /usr/sbin/in.fingerd
291
292
293       fingerd_log_t
294
295       - Set files with the fingerd_log_t type, if you want to treat the  data
296       as fingerd log data, usually stored under the /var/log directory.
297
298
299
300       fingerd_var_run_t
301
302       -  Set  files with the fingerd_var_run_t type, if you want to store the
303       fingerd files under the /run or /var/run directory.
304
305
306
307       Note: File context can be temporarily modified with the chcon  command.
308       If  you want to permanently change the file context you need to use the
309       semanage fcontext command.  This will modify the SELinux labeling data‐
310       base.  You will need to use restorecon to apply the labels.
311
312

COMMANDS

314       semanage  fcontext  can also be used to manipulate default file context
315       mappings.
316
317       semanage permissive can also be used to manipulate  whether  or  not  a
318       process type is permissive.
319
320       semanage  module can also be used to enable/disable/install/remove pol‐
321       icy modules.
322
323       semanage port can also be used to manipulate the port definitions
324
325       semanage boolean can also be used to manipulate the booleans
326
327
328       system-config-selinux is a GUI tool available to customize SELinux pol‐
329       icy settings.
330
331

AUTHOR

333       This manual page was auto-generated using sepolicy manpage .
334
335

SEE ALSO

337       selinux(8),  fingerd(8),  semanage(8), restorecon(8), chcon(1) , setse‐
338       bool(8)
339
340
341
342fingerd                            15-06-03                 fingerd_selinux(8)
Impressum