VPS2 CGI Library: finger
The UNIX Finger service can be used to provide a
form of user directory service. After you have installed the finger service, remote users will have the ability to
query user profiles on your Virtual Private Server. User profiles include information such as full name, login name,
home directory, as well as the contents of the .plan, .project, or .forward files. The
.plan, .project, and .forward files (if they exist) must be located in each of your users home
directories.
Installation
To install the finger CGI on your VPS v2 you will need to do the following:
- As the root user, copy the finger directory from the /usr/local/share/contrib/ directory
on your VPS v2 to the appropriate cgi-bin for the domain that will be using the script. Make sure to change
the file ownership to the correct user.
Feel free to customize the form, add graphics, etc. But be sure that the variable name
for each input field is not altered.
- Customize the Appearance of the CGI
Two subroutines in the util.pl file are used to print out header and footer information. These functions
are print_header_info and print_footer_info. Feel free to modify these functions such that the CGI
outputs pages that are in synch with the motifs of the rest of your site.

|