implements a simple protocol based on RFC 1288
that provides an interface to the
Name and Finger programs at several network sites.
The program is supposed to return a friendly,
human-oriented status report on either the system at the moment
or a particular person in depth.
There is no required format and the
protocol consists mostly of specifying a single
is started by
which listens for
requests at port 79.
Once connected it reads a single command line
terminated by a
which is passed to
closes its connections as soon as the output is finished.
If the line is null (i.e., just a
is sent) then
report that lists all people logged into
the system at that moment.
If a user name is specified (e.g.,
.Pf eric Aq Tn CRLF )
response lists more extended information for only that particular user,
whether logged in or not.
in the command line include both
If a name is ambiguous, all possible derivations are returned.
The following options may be passed to
as server program arguments in
The name of the host originating the query and the actual request
is reported via
at LOG_NOTICE priority.
A request of the form
will return long output.
Empty requests will return all currently logged in users.
All other requests look for specific users.
See RFC 1288 for details.
Enables matching of
This is disabled by default if the system is running YP.
Prevent matching of
is usually a login name; however, matching will also be done on the
users' real names, unless the
option is supplied.
Use an alternate program as the local information provider.
The default local program
By specifying a customized local server,
this option allows a system manager
to have more control over what information is
provided to remote sites.
from displaying the contents of the
Prints user information in short mode, one line per user.
This overrides the
that may be passed in from the remote client.
Enable secure mode.
Forwarding of queries to other remote hosts is denied.
Connecting directly to the server from a
or an equally narrow-minded
user program can result
in meaningless attempts at option negotiation being sent to the
server, which will foul up the command line interpretation.
should be taught to filter out
and perhaps even respond
to all option commands received.