Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cfingerd.text(5) [debian man page]

CFINGERD.TEXT(5)					    Configurable Finger Daemon						  CFINGERD.TEXT(5)

NAME
cfingerd.text - cfingerd text rules EXPLANATION
cfingerd offers different commands that can be placed in text files to display corresponding information. Each command used with cfingerd in text files begins with a dollar-sign (or a "$"). This usually indicates to cfingerd that when it's displaying a file, it issues the command given directly after that character and inserts its output. If you want to display a raw "$" sign, simply put two "$" signs together, or "$$". Text commands are only parsed if ALLOW_LINE_PARSING is enabled in /etc/cfingerd/cfingerd.conf(5). If it is disabled the text files will be sent as is, complete with any single or double dollar signs they may contain. TEXT COMMANDS
The following is a list of text commands and what they do. They are checked case insensitively. $CENTER will display the entire contents of the line. This command must start at the beginning of the line. This is a very common com- mand. $DATE displays the current system date in the format of MM/DD/YY. $TIME displays the current system time in the format HH:MM A/PM (timezone). $IDENT displays the identity of the current person fingering your system. $COMPILE_DATETIME displays the date and time of which the current issue of cfingerd was compiled on your system. $VERSION displays the current version of cfingerd. $EXEC executes the rest of the line as a system command and send the output to the fingering user. Pipes, parameters etc. are available. The $EXEC command must be on a line by itself in order to function properly. The command is executed as nobody.nogroup if used in a system file. If used in a user file (e.g. .plan) the command is executed as that particular user. cfingerd will fork() before executing the new command and will drop all priviledges so this is safe. This feature is only available if ALLOW_EXECUTION is enabled in cfingerd.conf. The program may prodeuce a maximum of 10MB of output. CONTACTING
If you like the software, and you want to learn more about the software, or want to see a feature added to it that isn't already here, then please write to cfingerd@infodrom.north.de. The project's webpage is at http://www.infodrom.north.de/cfingerd/ . SEE ALSO
cfingerd(8), cfingerd.conf(5), finger(1), userlist(1), any of the included docs with the standard cfingerd distribution. 1.4.2 7 Aug 1999 CFINGERD.TEXT(5)

Check Out this Related Man Page

USERLIST(8)						      Finger-type Userlisting						       USERLIST(8)

NAME
userlist - Userlisting of who's on your system. SYNOPSIS
userlist DESCRIPTION
This program simply gives you a listing of who is connected to your system. It is used primarily in the sorted listing of cfingerd, which utilitizes the same method of display for a more uniform output between systems. (It also made more sense to do it this way instead of having jumbled up display listings in sorted finger displays. Besides, it made more sense to do this than use finger. :) This program functions with the same types of things in mind that cfingerd does. If the user has a .nofinger file, their username will not be displayed in the userlisting. Example output is shown as: Username Real Name Idletime TTY Remote console username I'm real ... 9d 23:59 0 (remote.site.com) where it would display the user's login name, the user's real name, their idle time given in the format "dd hh:mm", their TTY, and their remote location (or where they're telnetting from). If the username is over 8 characters, the program will not search for their information in the passwd file, since it may be too long. Besides, it checks getpwnam, anyway. :) OPTIONS
-c Give standard CFINGERD (custom) output. -n List only people idle less than one day. ADDITIONAL
Although userlist is not required to run as suid root, it is a good idea. The reason is it checks each users' directory for a .nofinger file. If indeed that user has a .nofinger file in his/her directory, that user will not be shown in the userlisting. If you change the program to run as nobody.nobody, you are free to do so. But you will also show the users if they are online, regardless of whether or not they have a ".nofinger" file (as long as their directory is NOT world-readable.) CONTACTING
If you like this program, have any suggestions on how it could be modified, or have bug reports, please write to: khollis@bitgate.com. Your continued Public Domain support is appreciated! Thanks. SEE ALSO
cfingerd.conf(5), cfingerd(8), finger(1). cfingerd 1.4.2 29 August 1999 USERLIST(8)
Man Page