		    MultiUser Compatible Telnet Daemon
		    ==================================

			Release date: 1995/05/13

	Original source code by Steve Holland & Peter Simons
	  Multiuser compatible version by Andrea Rafreider


This is a multiuser compatible version of Telnetd2.0 package which was recently
released to aminet.

Original version of telnetd2.0 with source can be found in this same archive.

			   Requirements
			   ============

To use telnetd you need AmiTCP3.0b2+, MultiUser and some sort of network
connection.

			   Installation
			   ============

To install it , you have to follow these five steps:

1) copy telnetd in AmiTCP:serv/

2) Add the following line in  AmiTCP:db/Inetd.conf 

	telnet 	stream 	tcp	nowait	root	AmiTCP:serv/telnetd

3) You may also need to copy fakesr.device from original distribution in
   DEVS:

4) Substitute all "shell" fields in MultiUser passwd file with 
   
		*newshell * from S:remote-startup

  if you want to make the user able to telnet into your machine or

			nologin

  if you don't want this to happen.

For example, both this lines are valid passwd lines for telnetd & multiuser

simons|2G_L3nvKLmn|1|1|Peter Simons|Usr:simons|*newshell * from s:remote-startup
simons|2G_L3nvKLmn|1|1|Peter Simons|Usr:simons|nologin

5) Reboot your amiga

  **************************************************************************
  *Please consult also the docs in the original distribuition to know more *
  *about installing telnetd and to avoid some possible problems!	   *
  **************************************************************************


			    Compiling
			    =========

To compile this program you need to extract the original telnetd2.0.lha archive
to somewhere, then copy telnetd.c to somewhere/telnetd-2.0/source/ , then you
have to cd to somewhere/telnetd-2.0/source/ and type "smake".

You also need to have AmiTCP includes in NETINCLUDE:, AmiTCP link libraries in 
NETLIB: and of course MultiUser includes in INCLUDE:


			 About this program
			 ==================

With *this* modified telnetd, passwd checking is done via
multiuser.library instead of usergroup.library from AmiTCP.

The main advantage is that giving a shell to a remote user is
no longer *totally* insecure because of multiuser protection 
mechanisms.

Obviously for better security the system manager should protect
all the "hot" commands with root permissions only.
	
It's no longer possible to log in without password if the passwd field
in the multiuser passwd file is "*".
Some annoying syslog messages have also been removed.
The password checking is done via multiuser.library so that multiuser
passwd file *can* be protected from indiscreet eyes with the following
protection bits:  root ----rwed group ---- other ----	

I really don't see why AmiTCP group have complicated things not
using ACrypt() cryptographic function from Commodore. To set up
a multiuser environement with AmiTCP one should have two passwd 
files !! One for AmiTCP, and another one for MultiUser!!
This is ridiculous.

Maybe when I'll have some time free I'll work on usergroup.library
free GNU source code in order to make it compatible with MultiUser.

 	That's all folks!!
				Andrea Rafreider.


Please see also the GNU General Public Licence included in this archive.
to agree with terms and conditions of the distribution of this package. 
