************************************************************************ * finger daemon user-configurable * * (c) 1999-2001 Robert Trebula R0B0 * * http://www.elf.stuba.sk/~trebular * ************************************************************************ * Features: - user configurable finger info (optional) - remote user authentication (optional) - welcome message for remote hosts (optional) - pretending that users are logged in while they are not (optional) - .plan and .pgpkey files * This fingerd does not use the internal `finger` program. * Št feb 15 19:16:37 CET 2001 (after a time :) * Made in Slovakia * Installation: #configure #make all backup your old in.fingerd if you wish #make install * Edit your /etc/inetd.conf fingerd line to: finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd * Only tested with linux operating system. * Security notes: It is recomended not to run this daemon with root privileges (by inetd). * FAQ * Q:I have .notloggedin line in my .fingerrc and fingerd shows me when I am logged in. Why? A:You probably have .alwaysin also later in your .fingerrc. In general: options specified lower override those upper. * Q:I have .from line in my /root directory to pretend that root is allways logged in. The fingerd shows not only root logged in but also some 'operator'. Why and who is the ass-hole? A:Operator has probably /root set in /etc/passwd as his home directory. Change it for him or even delete this user (if you know what you can cause). * Sample .fingerrc (read `man 5 fingerrc` for more information): .login jerk .realname Ed Kowalczyk .homedir /dev/null .shell /usr/X11/bin/quake %section day saturday || day sunday { .notloggedin .lastlogged day #hour #minute .lastfrom the.hell.sk .from zero.sk } %section day not sunday && day not saturday { .alwaysin .noidle .from zero.sk } %section remote is alf.elf.stuba.sk || remote is decef.elf.stuba.sk && user is trebular { .nouser } * Copying notes: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave., Cambridge, MA 02139, USA.