home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / fingrd12 / fingerd.txt < prev   
Encoding:
Text File  |  1995-05-19  |  4.4 KB  |  117 lines

  1. Finger Service for Windows NT
  2. Version 1.2
  3.  
  4. Copyright 1994, Charles Calkins
  5.  
  6. Overview:
  7.  
  8.      Windows NT 3.1 provides a finger client, but does not provide a finger 
  9. service.  After getting my machine networked, I realized this deficiency and 
  10. hacked together a finger service.  No warranties expressed or implied, use at 
  11. your own risk and all that, but it runs properly on test systems available to 
  12. me.  If you use it, please send me e-mail and let me know what you think, what
  13. you would like to see improve, etc.
  14.      Version 1.1 and above now includes a special user "quote" - see below 
  15. for details
  16.  
  17.  
  18. What's New:
  19.  
  20. 1.2    Extended quote attribution
  21. 1.1     Added quote behavior
  22. 1.0    Initial release
  23.  
  24. Installation:
  25.  
  26. 1> Log into NT with an account with Administrator privilege
  27. 2> Place fingerd.exe in a directory of your choice.  My tests have shown it
  28.    to execute from anywhere, but one person reported it only successfully
  29.    worked from \winnt\system32.
  30. 3> type
  31.  
  32.     fingerd install start
  33.  
  34. If all went well, it should print a copyright notice and two lines of text, 
  35. the first stating that it has installed itself, and the second reporting that 
  36. the service has been started.  That's it.  To test it, type:
  37.  
  38.     finger @yourmachine
  39.  
  40.     where yourmachine is the hostname of your machine.
  41.  
  42.  
  43. Other command line options:
  44.  
  45.      Several command line options are supported, and nonconflicting options
  46. (like install and start) can be included on the same command line.
  47.  
  48.     install        Install the service
  49.     remove        Remove the service
  50.     start        Start the service
  51.     stop        Stop the service
  52.     int        Run interactively
  53.  
  54.      Interactive mode runs the service as a regular process and not a service
  55. (and thus does not require administrator privilege).  Its useful for testing,
  56. but not much else.  One could put it in one's startup group like this, however,
  57. though that configuration has not been tested.  If it is running as a user and
  58. not as a service, however, some processes will not be able to be examined for
  59. user info, and thus not all users with active processes will be reported.
  60.  
  61.  
  62. Quote server:
  63.  
  64.      fingerd can now act as a quote server by fingering the special user
  65. "quote".  If a file "quotes.dat" is present in the same directory as 
  66. fingerd.exe when it starts, finger quote@machine will retrieve a quote from 
  67. that file.  Quotes.dat has the following format:
  68.  
  69. ~Attribution for quotes #1 and #2
  70. Quote #1
  71. ~
  72. Quote #2
  73. ~Attribution for quote #3
  74. Quote #3's first line
  75. Quote #3's second line
  76. ~
  77.  
  78.      When "quote" is fingered, a random quote is chosen and returned to the
  79. user, with "From <attribution>" following.  In the above example, if quote #1
  80. or #2 is chosen, the first attribution is returned.  If quote #3 is chosen,
  81. the second attribution is returned.  Note the placing of the ~'s.  The file
  82. must begin and end with ~'s, and quotes must be separated by ~'s.  If an 
  83. attribution is present, it must not have a space between the associated ~ and
  84. the start of the attribution.  Quotes may be multiple lines - anything between
  85. the ~'s for that quote entry is displayed.
  86.  
  87.      For instance, I use this mechanism on Trixie (trixie.cec.wustl.edu) to
  88. return quotes from Japanese Anime movies I have seen.  I use the attribution
  89. area for the episode, and then give a number of quotes from that episode.
  90.      Note that this could be a mechanism for general information, or whatever
  91. is desired if I receive feedback (e.g. I could add a fingerable "help", for 
  92. instance).  Let me know if this would be useful - for me, "quote" is 
  93. sufficient.
  94.  
  95.  
  96. Administrative info:
  97.  
  98.      Standard legalese applies.  I take no responsibility for any ill effects
  99. this application may have on your system, and provide no warranties to its 
  100. operation.  Use at your own risk.  It runs fine on systems available to me, 
  101. but if your hard disk suddenly explodes, don't say I didn't warn you.  It has
  102. also been tested with version 1.0 of the Ataman telnet and rlogin services
  103. and will report processes by these users as well.
  104.      I'm releasing this as freeware, as it was more an exercise in Windows NT
  105. programming than anything else.  The finger protocol was inspired by
  106. Lee Murach's TXTSRV (c. 1993), and the mechanism for retrieving user info
  107. gleaned from the Win32 SDK.
  108.  
  109.                         Charles Calkins
  110.                         calkinsc@swarm.wustl.edu  or
  111.                         calkinsc@tardis.union.edu or
  112.                         crc2@cec.wustl.edu or
  113.                         calkinsc@aol.com
  114.  
  115.  
  116.  
  117.