Thanks for taking the time to README :)

QUESTIONS:
==========

1) What is telnetdp ?

A) telnetdp is a preprocessor for telnetd that displayes /etc/issue
   when a user telnets into the system, then runs the _REAL_ telnetd


2) Why on earth would I use it ?

A) It was primaraly written for a Linux box that is to run a BBS, this
   way the users know how to log in, what names to use etc. A simple
   /etc/issue might say something like ..

-------------------------------------------------------------------------
Welcome to wanda.

New users: To access the BBS login as bbs with a password of visitor

NOTE: This is a Linux system, and it is CaSe SeNsItIvE !
      use lower case names only !

-------------------------------------------------------------------------

3) OK, does it support /etc/issue Escape codes ?

A) Yes, almost to the same extent as "aggety" who's code I used for the
   /etc/issue parser. IE: ..

   \s -- System name		(Linux)
   \n -- Node name release	(wanda)
   \r -- Release		(1.1.0)
   \v -- Version		(#98 Tue Sep 6 21:40:23 GMT 1994)
   \m -- Machine		(i486)
   \d -- Date			(Mon Dec 19  1994)
   \t -- Time			(11:24:30)
   \l -- Unsuported		(net)
   \b -- Unsuported		(net)


4) Does it use more memory ?

A) No, once /etc/issue has been displayed, it replaces itself with the
   real telnetd


5) How do I install it ?

A) First log in as root :)

   Now locate the directory where the real telnetd is located, this
   might be /etc  or /usr/net/daemons, but its easy to find with the
   command ..

   find / -name telnetd -print

   Next copy telnetdp to the daemons directory,

   Edit /etc/inetd.conf and find the line describing telnetd, it should
   look something like this.

telnet  stream  tcp  nowait  root  /usr/net/daemons/telnetd  telnetd 

   change it to.

telnet  stream  tcp  nowait  root  /usr/net/daemons/telnetdp /usr/net/daemons/telnetd

   Where /usr/net/daemons is your network daemons directory.

   Now restart inetd, to do this execute the following command.

   ps -x | grep inetd

   This should give something like .

    29  ?  S     0:00 /usr/net/daemons/inetd
 33170 pp2 S     0:00 grep inetd


   From this we see that inetd has a PID of 29, then give the command

   kill -HUP 29

   Thats it, now try and telnet into your Linux machine, /etc/issue
   will be displayed.

-------------------------------------------------------------------------

6) Do I really need to include the full pathname in /etc/inetd.conf as
   the arguments to telnetdp ?

A) YES !!! telnetdp uses this to know where to run the real telnetd from.

-------------------------------------------------------------------------

Enjoy, Ross Linder  ross@wanda.iaccess.za

