finger

From NetBSD Wiki

Jump to: navigation, search

The finger(1) command displays user information about the system users.

% finger
Login    Name                Tty      Idle  Login Time   Office     Office Phone
root     Charlie Root       *console     -  Thu 15:48
john     John Doe            ttyp0       -  Thu 23:46

When a user name is supplied, it prints additional information about the user.

% finger john
Login: john                             Name: John Doe
Directory: /home/john                   Shell: /bin/csh
On since Thu Jul 27 23:46 (CEST) on ttyp0 from 192.168.0.200
No Mail.
No Plan.
%

Finger may be used to look up users on a remote machine. For that, the finger service must be enabled.

% finger john@holsten.export.de

[holsten.export.de]
Login: john                             Name: John Doe
Directory: /home/john                   Shell: /bin/csh
On since Thu Jul 25 1:24 (CEST) on ttyp9 from 85-214-32-44.holsten.edel.net
No Mail.
No Plan.
%

fingerd

The finger service runs on port 79. To enable it just uncomment the finger line in your /etc/inetd.conf and restart your inetd with

/etc/rc.d/inetd restart

The finger service is turned off by default.

Please be aware that you expose sensitive data to the internet by running this service.

View source code (Please report any bugs or suggestions here).

Personal tools