about summary refs log tree commit diff stats
path: root/pages/finger.md
blob: 0c94f8ae73f11c717fa0c6901ff91a0ac8af7c31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!--
title: Finger
author: gbmor
description: Getting started with fingerd
-->

# Finger

The finger protocol was created way back in 1977. its purpose was to
display information about the queried user of a system, or all the users
of a system.

It fell out of use in the 1990s due to various security concerns. the
old finger daemons were buggy and easily exploited, while the
information garnered from a query could be used for social engineering
attacks. nowadays, the finger daemons have been refined and are no longer
so vulnerable.

In the post-Facebook world, new types of social networks are
popping up. the latest in this movement is a resurgence of the finger
protocol. what follows is a rough guide for getting yourself up to speed
with finger on tilde.institute.

## Querying

The standard query for finger is simply

```
finger user@host
```

which displays login name, home directory, shell, real name, current login
time, idle time, whether or not the user has mail, and the contents of
the user's `~/.plan` file. Here is an example of the output:

```
Login: username                          Name: Bob Bobson XXII
Directory: /home/username                Shell: /bin/bash
On since Wed Jan  2 04:04 (EST) on pts/94 from 168.297.83.21 via mosh [6420]
    8 minutes 26 seconds idle
Last login Wed Jan  2 04:33 (EST) on pts/91 from 168.297.83.21
No mail.
Plan: hey hey hey everybody!
```

## .plan

The `~/.plan` file displayed at the end of the finger query response
allows for some customization. You can put literally any text you want
there. Status updates, summaries, etc. This little file allows us to use
finger as a rudimentary social network.

For example, say you want to use it as a personal summary, like having
a blurb about what you're working on. Place the statement into `~/.plan`
and you're ready to go!

For a more traditional social network style format, put dated and timed
status updates as if you're tooting on a mastodon instance. The sky's
the limit! Well, actually, text is the limit. But you get the idea. Right?

Hope to see you on finger soon!

[back](/)