-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.configuration
355 lines (195 loc) · 7.17 KB
/
README.configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
AFINGER CONFIGURATION
Blank lines and lines that begin with a # are comments and are ignored.
------------------------------------------------------------------------------
HOST DISPLAY OPTIONS
------------------------------------------------------------------------------
minuid <int>
Description: UIDs below minuid can't be fingered
Default: 1000
Example output:
$ afinger root
>> No such user.
---------------------------------------
maxuid <int>
Description: UIDs above maxuid can't be fingered
Default: 60000
Example output:
$ afinger nfsnobody
>> No such user.
---------------------------------------
cgi <boolean>
Description: For use as CGI, provides HTTP-header for Content-Type: text/plain,
Default: no
Example output:
$ afinger root
Content-Type: text/plain
>> No such user.
------------------------------------------------------------------------------
HOST ERROR DISPLAY OPTIONS
------------------------------------------------------------------------------
fortune
Description: Use fortune(1) for errors. Fortune / fortune-mod can be used to
obfuscate any errors or brute-force guessing attempts.
Default: no
Examples without fortune: Examples with fortune
$ afinger [email protected] $ afinger [email protected]
>> example.com: Host unknown. >> Core error - bus dumped
$ afinger user $ afinger user
>> No such user. >> Crop circles in the Korn shell.
---------------------------------------
fortpath
Description: Full path to fortune(1)
Default: /bin/fortune
---------------------------------------
cookie
Description: What fortune cookie file or directory to use
Default: /usr/share/games/fortune/bofh-excuses
---------------------------------------
cookielen
Description: Select fortune cookies of maximum cookielen characters long
Default: 72
---------------------------------------
errline
Description: What to prepend at the beginning of an error line
Default: >>
------------------------------------------------------------------------------
HOST USER DISPLAY OPTIONS
------------------------------------------------------------------------------
These options determine what user-controlled information in their own home-
directories can be used by afinger. Filenames are relative to the path of the
user (for example .file will be looked for at $HOME/.file)
optoutfile
Description: Name of file that prevents fingering per user
Default: .nofinger
Example output:
$afinger pkrul
>> User not responding.
---------------------------------------
plan
Description: Display .plan file
Default: yes
---------------------------------------
planfile
Description: Path to Plan File in $HOME
Default: .plan
---------------------------------------
planmtime
Description: Display .plan modification time
Default: yes
Example output:
$ afinger user
Login: user Name: User Name
Directory: Shell: /bin/bash
Office: AUX-I/O, NL Home Phone: +31123456789
Plan:
Last updated: Tue Sep 29 12:09:25 2015
This is my plan, baking cookies.
The recipe will be updated soon.
---------------------------------------
proj
Description: Display .project file
Default: yes
---------------------------------------
projfile
Description: Name of Project File in $HOME
Only the first line will be printed.
Default: .project
---------------------------------------
projmtime
Description: Display .project modification time
Default: yes
Example output:
$ afinger user
Login: user Name: User Name
Directory: Shell: /bin/bash
Office: AUX-I/O, NL Home Phone: +31123456789
Project:
Last updated: Mon Sep 28 12:01:10 2015
Documenting afinger configuration.
---------------------------------------
forward
Description: Display $HOME/.forward file
Default: yes
Example output:
$ afinger user
Login: user Name: User Name
Directory: /home/user Shell: /bin/bash
On since Oct 4 19:39 on pts/0 from :0.0
On since Oct 4 19:40 on pts/1 from :0.0
Mail forwarded to [email protected]
No mail.
No Plan.
---------------------------------------
fwdfile
Description: Name of E-mail forwarding file
See also the manpage of aliases(5).
Default: .forward
---------------------------------------
pub
Description: Display $HOME/.pgpkey Public Key File (PGP/GPG)
Default: yes
---------------------------------------
pubfile
Description: Name of Public Key File (PGP/GPG)
Default: .gpgkey
---------------------------------------
mailspool
Description: Location of mail spool (Maildir in $HOME, path like /var/mail)
Default: /var/mail
Maildir
---------------------------------------
mail
Description: Display information of mail spool status (LC_TIME is C)
Default: yes
Example output:
$ finger user
Login: pkrul Name: Pieter Krul
Directory: Shell: /bin/bash
Office: AUX-I/O, NL Home Phone: +31735185555
New mail received Sat Oct 3 20:08:34 2015
Unread since Mon Apr 27 23:13:02 2015
------------------------------------------------------------------------------
LOGIN DISPLAY OPTIONS
------------------------------------------------------------------------------
Description: Display login name
login yes
---------------------------------------
Description: Display real name
name yes
---------------------------------------
Description: Display path to home directory
home yes
---------------------------------------
Description: Display users shell
shell yes
---------------------------------------
Description: Display office location
office yes
---------------------------------------
Description: Display home phone number
phone yes
---------------------------------------
Description: Display terminal information
term yes
------------------------------------------------------------------------------
SERVICE/CLIENT NETWORK OPTIONS
------------------------------------------------------------------------------
Description: Allow network queries from your host like [email protected]
network yes
---------------------------------------
Description: Timeout when trying to connect to remote hosts
network_timeo 3
---------------------------------------
Description: Maximum receive buffer for network queries (SO_RCVBUF)
network_recv 4096
---------------------------------------
Description: Maximum number of resolved addresses per host (IPv4+IPv6) used in one query
maxqry 8
---------------------------------------
Description: Maximum number of resolved IPv4 addresses afinger will use for queries
maxqry_inet 8
---------------------------------------
Description: Maximum number of resolved IPv6 addresses afinger will use for queries
maxqry_inet6 8
#############################################################################
## EOF