
README for ttysnoop 0.0x (alpha) -- 09-01-94

The ttysnoop program suite is a small tool that allows you to snoop on 
dial-in/telnet-in ttys through another (unused) tty on your system. The 
snoop-tty becomes a 'clone' of the original tty so it can be used for output 
as well as input.
The two programs are called ttysnoops (the server) and ttysnoop (the
client).

When used on dial-in/telnet-in lines, ttysnoops should be run as early as 
possible. The standard procedure is to run it from your getty/telnetd as the 
login program and let ttysnoops exec /bin/login on the new pseudo-tty that it 
creates. This way, all logins on a line/pty will be snooped automatically.

To find out which ttys are to be snooped on which device, ttysnoops reads
the /etc/snooptab file. One entry per line sets up the relation between a
dial-in/telnet-in tty and its snoop device, as well as the type and path of 
the program to execute. Currently recognized process types are: init, login 
and user. /bin/login should be run as type login, any login-shell (/bin/sh)
should be run as type user. Have a look in the included snooptab to see how
to set things up.

Remember, this is alpha code. Use with care.

Mail any bug-reports/patches/comments to carl@p10.f500.n292.z2.fidonet.org
or 2:292/500.10@fidonet.

Carl Declerck.
