AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > Hosting > VPS2/3 > Webserver > CGI > Library > Sunday, July 20, 2008

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:
  1. 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.
  2. 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.

Example

Once you have completed the installation successfully, you will have a working finger form like the one shown below (go ahead and test it).
@



Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design