BSD 4_3_Net_2 release
[unix-history] / usr / src / libexec / fingerd / fingerd.8
CommitLineData
0fccfdb8 1.\" Copyright (c) 1980, 1991 The Regents of the University of California.
54b3b5b7 2.\" All rights reserved.
e6b338bd 3.\"
af359dea
C
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
e6b338bd 19.\"
af359dea
C
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
54b3b5b7 31.\"
af359dea
C
32.\" @(#)fingerd.8 6.4 (Berkeley) 3/16/91
33.\"
34.Dd March 16, 1991
0fccfdb8
CL
35.Dt FINGERD 8
36.Os BSD 4.3
37.Sh NAME
38.Nm fingerd
39.Nd remote user information server
40.Sh SYNOPSIS
41.Nm fingerd
42.Sh DESCRIPTION
43.Nm Fingerd
44is a simple protocol based on
45.%T RFC742
46that provides an interface to the
e6b338bd
KM
47Name and Finger programs at several network sites.
48The program is supposed to return a friendly,
49human-oriented status report on either the system at the moment
50or a particular person in depth.
51There is no required format and the
0fccfdb8
CL
52protocol consists mostly of specifying a single
53.Dq command line .
54.Pp
55.Nm Fingerd
56listens for
57.Tn TCP
58requests at port 79.
e6b338bd 59Once connected it reads a single command line
0fccfdb8
CL
60terminated by a
61.Aq Tn CRLF
62which is passed to
63.Xr finger 1 .
64.Nm Fingerd
e6b338bd 65closes its connections as soon as the output is finished.
0fccfdb8
CL
66.Pp
67If the line is null (i.e. just a
68.Aq Tn CRLF
69is sent) then
70.Xr finger
71returns a
72.Dq default
73report that lists all people logged into
e6b338bd 74the system at that moment.
0fccfdb8
CL
75.Pp
76If a user name is specified (e.g.
77.Pf eric Aq Tn CRLF )
78then the
e6b338bd
KM
79response lists more extended information for only that particular user,
80whether logged in or not.
0fccfdb8
CL
81Allowable
82.Dq names
83in the command line include both
84.Dq login names
85and
86.Dq user names .
e6b338bd 87If a name is ambiguous, all possible derivations are returned.
0fccfdb8
CL
88.Sh SEE ALSO
89.Xr finger 1
90.Sh BUGS
91Connecting directly to the server from a
92.Tn TIP
93or an equally narrow-minded
94.Tn TELNET Ns \-protocol
95user program can result
e6b338bd
KM
96in meaningless attempts at option negotiation being sent to the
97server, which will foul up the command line interpretation.
0fccfdb8
CL
98.Nm Fingerd
99should be taught to filter out
100.Tn IAC Ns \'s
101and perhaps even respond
102negatively
103.Pq Tn IAC WON'T
104to all option commands received.
105.Sh HISTORY
106The
107.Nm
108command appeared in
109.Bx 4.3 .