HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

t
telnetd(1M) telnetd(1M)
-z This option allows users to set the BUFFERTIMEOUT value. This option, when set,
informs telnetd how long it should wait before timing out and flushing the con-
catenated user data to TCP. Note that the TIMEOUT value is measured in clock ticks
(10ms) and not in seconds. This option is set with integer values. There is no specified
default.
-TCP_DELAY This option allows the users to disable the
TCP_NODELAY socket option. When tel-
netd
is invoked with this option, small writes over
telnetd may concatenate at the
tcp level so that larger tcp packets are sent to the client at less frequent intervals.
NOTE: Using -TCP_DELAY option with -z and -s
options is not recommended.
To configure
telnetd to use the
-TCP_DELAY option, the entry in /etc/inetd.conf
would be:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -TCP_DELAY
To work in the IPv6 environment using the
-TCP_DELAY option, the entry in /etc/inetd.conf
would be:
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd -TCP_DELAY
NOTE: tcp
has changed to tcp6 for IPv6.
To configure telnetd to have a BUFFERSIZE of 100 bytes and a BUFFERTIMEOUT
of 100 ticks, the
entry in
/etc/inetd.conf
would be:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -s100 -z100
To work in the IPv6 environment, the entry in /etc/inetd.conf
would be:
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd -s100 -z100
NOTE: tcp
has changed to tcp6 for IPv6.
Kerberos-Specific Options
In the Kerberos mode, inetd can start telnetd with the following entries in the /etc/inetd.conf
file:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -A
or
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -a valid
The following are Kerberos-specific options:
-A This option is used to ensure that non-secure systems are denied access to the server.
The -A option overrides any value specified with the -a option except when autho-
mode is set to
debug (See sis (5)).
-a authmode This option specifies the mode for Kerberos authentication (See sis(5)). Following are
the values for authmode:
debug Activates authentication debugging.
valid Specifies the default value. Allows connections only when the remote user
provides valid Kerberos authentication information and is authorized to
access the specified account.
none Specifies that the authentication information is not required. If insufficient
Kerberos authentication information is provided or if no information is pro-
vided, the login(1) program provides the necessary user verification.
-f This option instructs telnetd to use the normal authentication mode when the
telnet client communicates NULL type in the authentication option negotiation.
By default, the telnet server provides remote execution facilities with authentication based on Ker-
beros V5 (See sis(5)).
Note: Kerberos-specific options are not supported in an IPv6 environment.
DIAGNOSTICS
If any error is encountered by telnetd in establishing the connection, an error message is returned
through the connection, after which the connection is closed and the server exits. Any errors generated by
Section 1M1014 Hewlett-Packard Company 3 HP-UX 11i Version 1: September 2005