This is Version 1.3 of sliplogin.
Actually you can call this a patched version of Berkeley's sliplogin
version 5.6 or Florian La Roche's version 1.6, but since i released a real
working version for linux and named it 1.0 this is really version 1.3.

Sliplogin works with a shadowized linux (-lshadow) and
it works even when mgetty is calling /bin/login.
You really should use mgetty0.21 or newer for your incoming calls since
it fixes a signal 'bug' , you don't have to set your modem to auto-answer
and you can receive fax on the same line.

CHANGES from 1.0 to 1.1
=======================
Refering to slip.login*:
New argument pid for slip.login files.
Update your old slip.login* if you are upgrading from 1.0 to 1.1 !
Refering to slip.hosts:
Changed slip mode "adaptive" to "auto" since there was no adaptive defined.
Changed slip mode "compress" to "compressed" since it looks better.
Added slip mode "ax25" for KISS AX.25 connections.
Update your old slip.hosts if you are upgrading from 1.0 to 1.1 !
General:
Some workarounds.Speed argument contains now the real speed.

CHANGES from 1.1 to 1.2
=======================
Fixed a close() problem thanks to Bart Kindt and a race condition.
Added dynamic IP address assigning by Eric Stern.

CHANGES from 1.2 to 1.3
=======================
Fixed argument passing to slip.login for dynamic address thanks
to Johann Visagie.

CHANGES from 1.3 to 1.4
=======================
Added more comments and fixed setsid().

NOTES
=====
The new PID argument is done to help you to enable timeouts.
You can just execute kill after timeout (look in example slip.login.slip)
or better call a shell script after the timeout to ensure that sliplogin
is still running and you are not killing a new process with the same
PID that sliplogin had when it started.
Be sure to use the newest (depending on your kernel version) NetKit.

INSTALLING
==========
Edit the Makefile to suit your environment which means
especially comment -lshadow if you don't use shadow and
set SLIPGROUP to an existing group.
Then as root type 'make' and if you get no error, type
'make install'.
Read the manual (man sliplogin) on how to setup a slip account.
In the sliplogin package there are some example files, namely
passwd, slip.hosts, slip.login* and slip.logout*.
The files slip.login* and slip.logout have to be executable,
but you shouldn't set a suid or sgid bit.
If you are somehow unable to compile sliplogin (e.g. no gcc installed)
then you can use the precompiled sliplogin for linux which is built without
shadow support with gcc 2.6.2 and libc 4.6.27.

January 1995, Sven Goldt
goldt@math.tu-berlin.de
