[1870] in linux-security and linux-alert archive
[linux-security] Re: SSH w/ttysnoop
daemon@ATHENA.MIT.EDU (a mole)
Mon Jun 15 02:45:41 1998
Date: Sun, 14 Jun 1998 23:11:41 +1000 (EST)
From: a mole <mole@pasdex.com.au>
To: linux-security@redhat.com
In-Reply-To: <Pine.LNX.3.96.980614014821.5915A-100000@zombie.detour.net>
Resent-From: linux-security@redhat.com
Resent-Reply-To: linux-security@redhat.com
On Sun, 14 Jun 1998, Brendon Drew wrote:
> I was wondering if anyone here has or knows how to implement ttysnoop
> w/ssh ?
Okay, assuming you got it to work for telnet. In /etc/inetd.conf you
told telnetd to use the ttysnoop server as it's login program with
something like...
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -L /bin/ttysnoops
So, to make it work for ssh you need to tell sshd the same thing.
This means recompiling sshd. Proceed as per ussual but instead of just
./configure you need to do...
./configure --use-login=/bin/ttysnoops
Now compile and install sshd as per normal. The only think left is to
make sure that you set...
UseLogin yes
...in your sshd_config file.
M.
--
----------------------------------------------------------------------
Please refer to the information about this list as well as general
information about Linux security at http://www.aoy.com/Linux/Security.
----------------------------------------------------------------------
To unsubscribe:
mail -s unsubscribe linux-security-request@redhat.com < /dev/null