On Sun, 9 Apr 2000, Michael Vincent K. Pozon - CompE wrote:

>       with kernel 2.2.5-15 , when i do a terminal login (telnet/ssh) i'm
> logged in via pts/x ( i.e. pts/0)
>            but with kernel 2.2.14 i'm logged in via ttypx (i.e. ttyp1)
> 
> i'm just wondering what's the significance or difference for both ttypx
> and pts/x .... security issue ?

actually, it's an option you choose in kernel configuration under Unix98
PTY support. from the blurb:

Linux has traditionally used the BSD-like names /dev/ptyxx for masters and
/dev/ttyxx for slaves of pseudo terminals. This scheme -- has a number of
problems. The GNU C library glibc 2.1 and later, however, supports the
Unix98 naming standard: in order to acquire a pseudo terminal, a process
opens /dev/ptmx; the number of the pseudo terminal is then made available
to the process and the pseudo terminal slave can be accessed as
/dev/pts/<number>. What was traditionally /dev/ttyp2 will then be
/dev/pts/2, for example.
                                                                           
The entries in /dev/pts/ are created on the fly by a virtual filesystem; 
therefore, if you say Y here you should say Y to "/dev/pts filesystem for
Unix98 PTYs" as well. 
  
--
eric pareja ([EMAIL PROTECTED]) | check out http://www.Gra.PH
home with a bunch of machines to form a cluster (well, almost)
"Knowledge is inherently precious even if you can't sell it."
   - Dr. Greta Penninger in Bruce Sterling's "Distraction"


-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to