xref: /freebsd/libexec/fingerd/fingerd.8 (revision 43581d7b6617959e4452094d9330ef020034a6c9)
1ea022d16SRodney W. Grimes.\" Copyright (c) 1980, 1991, 1993
2ea022d16SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
3ea022d16SRodney W. Grimes.\"
4ea022d16SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
5ea022d16SRodney W. Grimes.\" modification, are permitted provided that the following conditions
6ea022d16SRodney W. Grimes.\" are met:
7ea022d16SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
8ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
9ea022d16SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
10ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
11ea022d16SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
125efaea4cSChristian Brueffer.\" 3. Neither the name of the University nor the names of its contributors
13ea022d16SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
14ea022d16SRodney W. Grimes.\"    without specific prior written permission.
15ea022d16SRodney W. Grimes.\"
16ea022d16SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17ea022d16SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18ea022d16SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19ea022d16SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20ea022d16SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21ea022d16SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22ea022d16SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23ea022d16SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24ea022d16SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25ea022d16SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26ea022d16SRodney W. Grimes.\" SUCH DAMAGE.
27ea022d16SRodney W. Grimes.\"
28*d5fb42c2SJohn-Mark Gurney.Dd November 19, 2014
29ea022d16SRodney W. Grimes.Dt FINGERD 8
300efe23d6SRuslan Ermilov.Os
31ea022d16SRodney W. Grimes.Sh NAME
32ea022d16SRodney W. Grimes.Nm fingerd
33ea022d16SRodney W. Grimes.Nd remote user information server
34ea022d16SRodney W. Grimes.Sh SYNOPSIS
3576081989SRuslan Ermilov.Nm
369481b542SDag-Erling Smørgrav.Op Fl d
379481b542SDag-Erling Smørgrav.Op Fl k
38ea022d16SRodney W. Grimes.Op Fl s
39ea022d16SRodney W. Grimes.Op Fl l
40ea022d16SRodney W. Grimes.Op Fl p Ar filename
41ea022d16SRodney W. Grimes.Sh DESCRIPTION
423f162cb8SPhilippe CharnierThe
433f162cb8SPhilippe Charnier.Nm
440c9dd24bSPhilippe Charnierutility uses a simple protocol based on
45ea022d16SRodney W. Grimes.%T RFC1196
460c9dd24bSPhilippe Charnierthat provides an interface to
470c9dd24bSPhilippe Charnier.Xr finger 1
48f0134e33SRuslan Ermilovat several network sites.
49f0134e33SRuslan ErmilovIt is supposed to return a friendly,
50ea022d16SRodney W. Grimeshuman-oriented status report on either the system at the moment
51ea022d16SRodney W. Grimesor a particular person in depth.
52ea022d16SRodney W. GrimesThere is no required format and the
53ea022d16SRodney W. Grimesprotocol consists mostly of specifying a single
54f0134e33SRuslan Ermilov.Dq "command line" ,
550c9dd24bSPhilippe Charnierthus,
560c9dd24bSPhilippe Charnier.Nm
570c9dd24bSPhilippe Charniercan also be used to implement other protocols in conjunction with the
580c9dd24bSPhilippe Charnier.Fl p
590c9dd24bSPhilippe Charnierflag.
60ea022d16SRodney W. Grimes.Pp
613f162cb8SPhilippe CharnierThe
623f162cb8SPhilippe Charnier.Nm
633f162cb8SPhilippe Charnierutility is started by
640fd3140eSMike Pritchard.Xr inetd 8 ,
650fd3140eSMike Pritchardwhich listens for
66ea022d16SRodney W. Grimes.Tn TCP
67ea022d16SRodney W. Grimesrequests at port 79.
68ea022d16SRodney W. GrimesOnce connected it reads a single command line
69ea022d16SRodney W. Grimesterminated by a
70ea022d16SRodney W. Grimes.Aq Tn CRLF
71ea022d16SRodney W. Grimeswhich is passed to
72ea022d16SRodney W. Grimes.Xr finger 1 .
733f162cb8SPhilippe CharnierThe
743f162cb8SPhilippe Charnier.Nm
753f162cb8SPhilippe Charnierutility closes its connections as soon as the output is finished.
76ea022d16SRodney W. Grimes.Pp
77c481aa05SRuslan ErmilovIf the line is null (i.e., just a
78ea022d16SRodney W. Grimes.Aq Tn CRLF
79ea022d16SRodney W. Grimesis sent) then
803f162cb8SPhilippe Charnier.Xr finger 1
81ea022d16SRodney W. Grimesreturns a
82ea022d16SRodney W. Grimes.Dq default
83ea022d16SRodney W. Grimesreport that lists all people logged into
84ea022d16SRodney W. Grimesthe system at that moment.
85ea022d16SRodney W. Grimes.Pp
86*d5fb42c2SJohn-Mark GurneyIf a user name is specified (e.g.,\&
87ea022d16SRodney W. Grimes.Pf eric Aq Tn CRLF )
88ea022d16SRodney W. Grimesthen the
89ea022d16SRodney W. Grimesresponse lists more extended information for only that particular user,
90ea022d16SRodney W. Grimeswhether logged in or not.
91ea022d16SRodney W. GrimesAllowable
92ea022d16SRodney W. Grimes.Dq names
93ea022d16SRodney W. Grimesin the command line include both
94ea022d16SRodney W. Grimes.Dq login names
95ea022d16SRodney W. Grimesand
96ea022d16SRodney W. Grimes.Dq user names .
97ea022d16SRodney W. GrimesIf a name is ambiguous, all possible derivations are returned.
98ea022d16SRodney W. Grimes.Pp
99ea022d16SRodney W. GrimesThe following options may be passed to
10074b634acSPhilippe Charnier.Nm
101ea022d16SRodney W. Grimesas server program arguments in
102ea022d16SRodney W. Grimes.Pa /etc/inetd.conf :
10374b634acSPhilippe Charnier.Bl -tag -width indent
1049481b542SDag-Erling Smørgrav.It Fl d
1059481b542SDag-Erling SmørgravEnable debugging mode.
1069481b542SDag-Erling SmørgravIn debugging mode,
1079481b542SDag-Erling Smørgrav.Nm
1089481b542SDag-Erling Smørgravwill not attempt any network-related operations on
1099481b542SDag-Erling Smørgrav.Va stdin ,
1109481b542SDag-Erling Smørgravand it will print the full
1119481b542SDag-Erling Smørgrav.Nm finger
1129481b542SDag-Erling Smørgravcommand line
1139481b542SDag-Erling Smørgravto
1149481b542SDag-Erling Smørgrav.Va stderr
1159481b542SDag-Erling Smørgravbefore executing it.
1169481b542SDag-Erling Smørgrav.It Fl k
1179481b542SDag-Erling SmørgravSuppress login information.
1189481b542SDag-Erling SmørgravSee the description of the
1199481b542SDag-Erling Smørgrav.Fl k
1209481b542SDag-Erling Smørgravoption in
1219481b542SDag-Erling Smørgrav.Xr finger 1
1229481b542SDag-Erling Smørgravfor details.
123ea022d16SRodney W. Grimes.It Fl s
124ea022d16SRodney W. GrimesEnable secure mode.
125ea022d16SRodney W. GrimesQueries without a user name are rejected and
126ea022d16SRodney W. Grimesforwarding of queries to other remote hosts is denied.
127ea022d16SRodney W. Grimes.It Fl l
128ea022d16SRodney W. GrimesEnable logging.
129ea022d16SRodney W. GrimesThe name of the host originating the query is reported via
130ea022d16SRodney W. Grimes.Xr syslog 3
131ea022d16SRodney W. Grimesat LOG_NOTICE priority.
132ea022d16SRodney W. Grimes.It Fl p
133ea022d16SRodney W. GrimesUse an alternate program as the local information provider.
134ea022d16SRodney W. GrimesThe default local program
135ea022d16SRodney W. Grimesexecuted by
13674b634acSPhilippe Charnier.Nm
137ea022d16SRodney W. Grimesis
138ea022d16SRodney W. Grimes.Xr finger 1 .
139ea022d16SRodney W. GrimesBy specifying a customized local server,
140ea022d16SRodney W. Grimesthis option allows a system manager
141ea022d16SRodney W. Grimesto have more control over what information is
142ea022d16SRodney W. Grimesprovided to remote sites.
14380536eadSGarrett WollmanIf
14480536eadSGarrett Wollman.Fl p
14580536eadSGarrett Wollmanis specified,
14680536eadSGarrett Wollman.Nm
14780536eadSGarrett Wollmanwill also set the environment variable
14880536eadSGarrett Wollman.Ev FINGERD_REMOTE_HOST
14980536eadSGarrett Wollmanto the name of the host making the request.
150ea022d16SRodney W. Grimes.El
151ea022d16SRodney W. Grimes.Sh SEE ALSO
1520fd3140eSMike Pritchard.Xr finger 1 ,
1530fd3140eSMike Pritchard.Xr inetd 8
154a3ac07a5SRuslan Ermilov.Sh HISTORY
155a3ac07a5SRuslan ErmilovThe
156a3ac07a5SRuslan Ermilov.Nm
157a3ac07a5SRuslan Ermilovutility appeared in
158a3ac07a5SRuslan Ermilov.Bx 4.3 .
159