fingerd8
Remote user information server
Usage
fingerd [-d]
[-k]
[-s]
[-l]
[-p
filename]
Overview
The fingerd utility uses a simple protocol based on that provides an interface to finger(1) at several network sites. It 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 “command line”, thus, fingerd can also be used to implement other protocols in conjunction with the -p flag.
The fingerd utility is started by inetd(8), which listens for TCP requests at port 79. Once connected it reads a single command line terminated by a ⟨CRLF⟩ which is passed to finger(1). The fingerd utility closes its connections as soon as the output is finished.
If the line is null (i.e., just a ⟨CRLF⟩ is sent) then finger(1) returns a “default” report that lists all people logged into the system at that moment.
If a user name is specified (e.g., eric⟨CRLF⟩) then the response lists more extended information for only that particular user, whether logged in or not. Allowable “names” in the command line include both “login names” and “user names”. If a name is ambiguous, all possible derivations are returned.
The following options may be passed to fingerd as server program arguments in /etc/inetd.conf:
-
-d -
Enable debugging mode. In debugging mode,
fingerdwill not attempt any network-related operations on stdin, and it will print the fullfingercommand line to stderr before executing it. -
-k -
Suppress login information. See the description of the
-koption in finger(1) for details. -
-s -
Enable secure mode. Queries without a user name are rejected and forwarding of queries to other remote hosts is denied.
-
-l -
Enable logging. The name of the host originating the query is reported via syslog(3) at LOG_NOTICE priority.
-
-p -
Use an alternate program as the local information provider. The default local program executed by
fingerdis finger(1). By specifying a customized local server, this option allows a system manager to have more control over what information is provided to remote sites. If-pis specified,fingerdwill also set the environment variable FINGERD_REMOTE_HOST to the name of the host making the request.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 41 times.
- 2.0.5–2.1.7.1
- 2.2.2–2.2.5
- 2.2.6–3.5.1
- 4.0–4.2
- 4.3
- 4.4–4.11
- 5.0–5.2.1
- 5.3–5.5
- 6.0–6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0
- 11.1
- 11.2
- 11.3
- 11.4
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 13.0–13.2
- 13.3–14.5
- 15.0–16.0
-d since FreeBSD 9.0-RELEASE;
-k since FreeBSD 9.0-RELEASE.