Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc
   1 IN.TELNETD(1M)               Maintenance Commands               IN.TELNETD(1M)
   2 
   3 NAME
   4        in.telnetd, telnetd - DARPA TELNET protocol server
   5 
   6 SYNOPSIS
   7        /usr/sbin/in.telnetd [-a authmode] [-EXUh] [-s tos]
   8             [-S keytab] [-M realm]
   9 
  10 
  11 DESCRIPTION
  12        in.telnetd is a server that supports the DARPA standard TELNET virtual
  13        terminal protocol. in.telnetd is normally invoked in the internet
  14        server (see inetd(1M)), for requests to connect to the TELNET port as
  15        indicated by the /etc/services file (see services(4)).
  16 
  17 
  18        in.telnetd operates by allocating a pseudo-terminal device for a
  19        client, then creating a login process which has the slave side of the
  20        pseudo-terminal as its standard input, output, and error. in.telnetd
  21        manipulates the master side of the pseudo-terminal, implementing the
  22        TELNET protocol and passing characters between the remote client and
  23        the login process.
  24 
  25 
  26        When a TELNET session starts up, in.telnetd sends TELNET options to the
  27        client side indicating a willingness to do remote echo of characters,
  28        and to suppress go ahead. The pseudo-terminal allocated to the client
  29        is configured to operate in "cooked" mode, and with XTABS, ICRNL and
  30        ONLCR enabled. See termio(7I).
  31 
  32 
  33        in.telnetd is willing to do: echo, binary, suppress go ahead, and
  34        timing mark. in.telnetd is willing to have the remote client do:
  35        binary, terminal type, terminal size, logout option, and suppress go
  36        ahead.
  37 
  38 
  39        in.telnetd also allows environment variables to be passed, provided
  40        that the client negotiates this during the initial option negotiation.
  41        The DISPLAY environment variable may be sent this way, either by the
  42        TELNET general environment passing methods, or by means of the XDISPLOC
  43        TELNET option. DISPLAY can be passed in the environment option during


 295        is provided by pam_authtok_check(5), pam_authtok_get(5),
 296        pam_authtok_store(5), pam_dhkeys(5), pam_passwd_auth(5),
 297        pam_unix_account(5), pam_unix_auth(5), and pam_unix_session(5).
 298 
 299 
 300        The in.telnetd service is managed by the service management facility,
 301        smf(5), under the service identifier:
 302 
 303          svc:/network/telnet
 304 
 305 
 306 
 307 
 308        Administrative actions on this service, such as enabling, disabling, or
 309        requesting restart, can be performed using svcadm(1M). Responsibility
 310        for initiating and restarting this service is delegated to inetd(1M).
 311        Use inetadm(1M) to make configuration changes and to view configuration
 312        information for this service. The service's status can be queried using
 313        the svcs(1) command.
 314 
 315                                  June 20, 2021                  IN.TELNETD(1M)
   1 IN.TELNETD(1M)               Maintenance Commands               IN.TELNETD(1M)
   2 
   3 NAME
   4        in.telnetd, telnetd - DARPA TELNET protocol server
   5 
   6 SYNOPSIS
   7        /usr/sbin/in.telnetd [-a authmode] [-EXUh] [-s tos]
   8             [-S keytab] [-M realm]
   9 
  10 
  11 DESCRIPTION
  12        in.telnetd is a server that supports the DARPA standard TELNET virtual
  13        terminal protocol. in.telnetd is normally invoked in the internet
  14        server (see inetd(1M)), for requests to connect to the TELNET port as
  15        indicated by the /etc/services file (see services(4)).
  16 
  17 
  18        in.telnetd operates by allocating a pseudo-terminal device for a
  19        client, then creating a login process which has the subsidiary side of
  20        the pseudo-terminal as its standard input, output, and error.
  21        in.telnetd manipulates the manager side of the pseudo-terminal,
  22        implementing the TELNET protocol and passing characters between the
  23        remote client and the login process.
  24 
  25 
  26        When a TELNET session starts up, in.telnetd sends TELNET options to the
  27        client side indicating a willingness to do remote echo of characters,
  28        and to suppress go ahead. The pseudo-terminal allocated to the client
  29        is configured to operate in "cooked" mode, and with XTABS, ICRNL and
  30        ONLCR enabled. See termio(7I).
  31 
  32 
  33        in.telnetd is willing to do: echo, binary, suppress go ahead, and
  34        timing mark. in.telnetd is willing to have the remote client do:
  35        binary, terminal type, terminal size, logout option, and suppress go
  36        ahead.
  37 
  38 
  39        in.telnetd also allows environment variables to be passed, provided
  40        that the client negotiates this during the initial option negotiation.
  41        The DISPLAY environment variable may be sent this way, either by the
  42        TELNET general environment passing methods, or by means of the XDISPLOC
  43        TELNET option. DISPLAY can be passed in the environment option during


 295        is provided by pam_authtok_check(5), pam_authtok_get(5),
 296        pam_authtok_store(5), pam_dhkeys(5), pam_passwd_auth(5),
 297        pam_unix_account(5), pam_unix_auth(5), and pam_unix_session(5).
 298 
 299 
 300        The in.telnetd service is managed by the service management facility,
 301        smf(5), under the service identifier:
 302 
 303          svc:/network/telnet
 304 
 305 
 306 
 307 
 308        Administrative actions on this service, such as enabling, disabling, or
 309        requesting restart, can be performed using svcadm(1M). Responsibility
 310        for initiating and restarting this service is delegated to inetd(1M).
 311        Use inetadm(1M) to make configuration changes and to view configuration
 312        information for this service. The service's status can be queried using
 313        the svcs(1) command.
 314 
 315                                February 5, 2022                 IN.TELNETD(1M)