-->

Previous | Table of Contents | Next

Page 1114

The supported caught signals are as follows:


SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGFPE, SIGUSR1, SIGSEGV, SIGUSR2, SIGPIPE, SIGALRM, SIGTERM, SIGCONT,

SIGTSTP, SIGTTIN, SIGTTOU, SIGIO, SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF, SIGWINCH

FINGER PROGRAMS FILES SECTION (FILES finger programs)

These are the programs that are called when a specific action is take on the finger display.

FINGER is the file that is used when a user listing is requested from your machine. This is used in the standard user list and in the sorted user list, so it is wise to use the standard here: /usr/sbin/userlist.

WHOIS is the program that is used when a WHOIS request is done on a specific user.

FINGER FAKE USERS FILES SECTION (FILES finger fakeusers)

These are the ever_popular fake users that you can create on your system. These users are ones that don't exist (and should not exist, for that matter). These are, instead, treated as normal scripts that can be called for your use.

The format is as follows for fake users:


fake_username Script_name SEARCHBOOL script

fake_username is the name of the fake user you want to request. Make sure that this is a user that does not exist on your system. Keep in mind that if you create a fake username and that user already exists, the fake username will be shown.

Script_name is the standard name of your script. This is used in the display of your services listing.

SEARCHBOOL specifies whether parameters can be sent to that specific fake user. If you decide to use the SEARCHBOOL option (TRUE in this case), the passed variables are

$1 First passed option
$2 Second passed option
$3 Third passed option
$4 Fourth passed option

(If more than four options were passed to this, the request will be ignored, and an error message will be returned to the user who requested the finger request.)

script is the location of your script. It should be chmod 700 and readable only by root.

If you do not specify any fake users, a fake user called None will be created. This is a fake user that does nothing and calls /dev/null for the script.

SERVICES HEADER CONFIGURE SECTION (CONFIG services header)

This is the display that is given during a services finger. It should be formatted the same way that you want it to display on the screen.

When specifying the finger formatted options, you should specify them as C formatted strings as well, with the standard options. This should always be given last in the display.

An example of this is


Welcome to this system's services!

User: Service name: Searchable:

——_ ——————_ ———_

%-8s %-20s %-s

Remember to keep the format string last or a SIGSEGV will result.

SERVICES POSITIONS CONFIGURE SECTION (CONFIG services positions)

This specifies where in the preceding display string that the information from a service listing is to appear. These numbers can be anywhere between 1 and 3.

Page 1115

USER specifies the position of the username listing.

SERVICE specifies the position of the service full_name listing.

SEARCH specifies the position of the Boolean search display.

CONTACTING

If you like this program and have questions or comments about the program's functionality or what_have_you, write to khollis@bitgate.com.

As always, I appreciate any suggestions or bug reports you might have, so bring them on!

SEE ALSO

cfingerd(8), cfingerd.text(5), userlist(1), finger(1), regex(3), regexp(3)

16 May 1996

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 ($). This usually indicates to cfingerd that when it's displaying a file, it parses the command directly after that character.

If you want to display a raw $ sign, simply put two $ signs together, or $$.

TEXT COMMANDS

The following is a list of text commands and what they do. Each of the text commands can be in any text case; it doesn't matter.

$CENTER Displays the entire contents of the line. This command must start at the beginning of the line. This is a very common command.
$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 (time zone).
$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 a file with x parameters after it. The $EXEC command must be on a line by itself
in order to function properly. The command is executed as nobody.nogroup.

SEE ALSO

cfingerd(8), cfingerd.conf(5), finger(1), userlist(1), any of the included docs with the standard cfingerd distribution.

cfingerd 1.2.1, 6 Jan 1996

control.ctl

control.ctl—Specify handling of Usenet control messages.

Previous | Table of Contents | Next