finger/log

7 lines
173 B
Bash
Executable File

#!/bin/sh
# file /var/log/efingerd.log has to be writeable by UID
# efingerd runs under for this to work
echo "$(date)" "$3" fingered from "$1@$2" >>/var/log/efingerd.log