Re: Does anyone still care about BSD ptys?

From: Athanasius
Date: Mon Feb 09 2004 - 16:01:42 EST


On Mon, Feb 09, 2004 at 01:27:24PM -0500, Richard B. Johnson wrote:
> Really? Then you don't have anybody trying to log-in
> from the network using telnet, then do you?
>
> The BSD virtual terminals go in pairs, /dev/ptyp* /dev/ttyp*
>
> # ls -la /dev/ttyp*
> crw--w---- 1 rjohnson tty 3, 0 Feb 9 13:17 /dev/ttyp0

Then your telnetd needs 'fixing'. This works fine, with /dev/pts on
my Debian stable/Woody system:

20:56:57 0$ w athan
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
athan pts/26 XXXXXXXXXXXXXX 20:56 1:04 0.09s 0.09s -bash

That's a telnet login just started.

This is specifically using the 'telnetd-ssl' package in Debian.

-Ath
--
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
Finger athan(at)fysh.org for PGP key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

Attachment: pgp00000.pgp
Description: PGP signature