pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 4fdd84ee6e77dc3990a696892e6a68ea9447f485
parent 850653862a62ddf58ac39cd9a58360d500164441
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 18 May 2023 09:26:06 +0100

pull_my_finger

Diffstat:
Mentry/pull_my_finger.md | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/entry/pull_my_finger.md b/entry/pull_my_finger.md @@ -14,12 +14,12 @@ echo pyratebeard | nc pyratebeard.net 79 While drkhsh's post shows the setup on OpenBSD I am using Devuan so it was a little different. These steps should also work on Debian or any other deb package system. -I needed to install the finger daemon, the finger command, and xinetd, which will run the daemon +I needed to install the `fingerd` daemon, the `finger` command, and `xinetd`, which will run the daemon ``` -sudo apt -y install fingerd xinetd finger +sudo apt -y install fingerd finger xinetd ``` -Then created an xinetd service config under /etc/xinetd.d/ +Then created an `xinetd` service config file under /etc/xinetd.d/ ``` service finger { @@ -33,9 +33,9 @@ service finger } ``` -The `server_args` tell `fingerd` to require a username to finger and use an alternative script, in my case /home/pyratebeard/finger. +The `server_args` option tells `fingerd` to require a username to finger and use an alternative script, in my case /home/pyratebeard/finger. -The script I point to is what outputs when you finger me +The script I point to is what outputs when you `finger` me ``` #!/bin/sh cat <<EOF @@ -69,8 +69,8 @@ cat <<EOF EOF ``` -The script has to be executable, then I restarted the xinetd service. +The script has to be executable, then I restarted the `xinetd` service. -If you try this also make sure port 79 is allowed through your firewall. +If you try this also make sure port 79 is allowed through your firewall, this is the default `fingerd` port. -A few of us on IRC have now started a "finger ring", so if you think this is fun and want to join in let me know using the contact details on my [homepage](https://pyratebeard.net){target="_blank" rel="noreferrer"}, or now my finger info, or pop onto the #unix channel on unix.chat and post your finger link. +A few of us on IRC have now started a "finger ring", so if you think this is fun and want to join in let me know using the contact details on my [homepage](https://pyratebeard.net){target="_blank" rel="noreferrer"}, or `finger` me, or jump into the #unix channel on [unix.chat](https://unix.chat){target="_blank" rel="noreferrer"} and post your finger link.