This is Version 2.1.1 of sliplogin based on Berkeley's sliplogin version 5.6 and Florian La Roche's sliplogin version 1.6. Since version 2.1.0 it provides support for Linux & FreeBSD systems. (compiled and tested with Linux 1.2.x, 1.3.x and FreeBSD 1.x and 2.0.5. Because the number of configuration option increased rapidly, i was not able to test all combinations. (esp. no NIS maps)) With Version 2.1.0. some new features are provided. See CHANGES and README.esliplogin for details. Also read and modify the Makefile to your needs. 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. NOTES ===== The PID argument for slip.login has been done to help you to enable absolute timeouts, but you can aswell specify an idle timeout in slip.hosts. The PID argument has been added to slip.logout calls in Version 2.1.0 to share the same scripts for slip.login and slip.logout, distinguished just by the script (link) pattern 'login' or 'logout'. See slip.login coming with this distribution for an example. You may just symlink slip.logout to slip.login and create a slip.route for the routing table of the slip-users. You'll no longer have to maintain several 'slip.log*.*' files in your SLIPPATH. Linux users: Be sure to use the newest (depending on your kernel version) net-tools, which can be found in the sunacm directory on sunsite.unc.edu mirrors. 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. You also have to specify the kvm or util library on a system running FreeBSD. You also should have a look at SLIPPATH. Originated in /etc, under FreeBSD more in /etc/sliphome the configuration files should go to /etc/slip to confirm to Linux FSSTD. Anyway it's a good idea to read all the README's coming with sliplogin first! You can choose between four different output messages to appear on the slip user's screen; either the normal message (which displays the client IP first) or the old message (which displays the server IP first) or a funny message (which displays the client IP first) and finally a very old (FreeBSD) message (starting [mode] slip login for). Note that the clients / software of your login user(s) eventually will expect one specific string and will cause you trouble, if these scripts will fail with a new type of message(s). Use the compile-time option -DCONFIGURE_MSG=0 to turn off messages about dynamically assigned IP-#'s or use extended sliplogin with an additional '-' for the login name. After editing the Makefile 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. (NOTE: as mentioned above, a new slip.login comes with sliplogin 2.1.0, which can be used also as slip.logout. The number of arguments for slip.logout has been changed for that reason.) May 1996, Jan Wedekind jan@todonix.ping.de October 1996, Sven Goldt goldt@pegasus.in-berlin.de