HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
t
telnetd(1M) telnetd(1M)
Options
telnetd has the following options.
-b [bannerfile] Specify a file containing a custom banner. This option overrides the standard
telnetd
login banner. For example, to use
/etc/issue as the login banner, have inetd
start telnetd with the following lines in /etc/inetd.conf
(\ provides line con-
tinuation):
telnet stream tcp nowait root /usr/lbin/telnetd \
telnetd -b/etc/issue
To work in the IPv6 environment, the entry in
/etc/inetd.conf
would be:
telnet stream tcp6 nowait root /usr/lbin/telnetd \
telnetd -b/etc/issue
NOTE: tcp
has changed to tcp6 for IPv6.
If bannerfile is not specified,
telnetd does not print a login banner.
-n Set the time-out value for the initial option negotiation in the
/etc/inetd.conf
file
as:
telnet stream tcp nowait root /usr/lbin/telnetd \
telnetd -n240
This option informs telnetd how long it should wait before timing out and exiting if it
does not receive either a positive or negative reply for any of the initial option negotia-
tions. The time-out value is measured in seconds. This option is set with integer
values. The values range between 1 and 21474836. The default value is 120 seconds.
There should not be any space between -n option and the time-out value. For example,
-n240.
-s This option allows users to set the BUFFERSIZE value. This option, when set, informs
telnetd the number of user bytes to concatenate before sending to TCP. This option
is set with integer values. There is no specified default.
-t Enable the TAC User ID option. The system administrator can enable the TAC User ID
option on servers designated as participating hosts by having
inetd start telnetd
with the -t option in /etc/inetd.conf
:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -t
To enable the TAC User ID option for IPv6, users must have
inetd start telnetd
with the -t option in /etc/inetd.conf
as shown below:
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd
-t
NOTE: tcp
has changed to tcp6 for IPv6.
In order to make the TAC User ID option work as specified, the system administrator
must assign to all authorized users of the option the same login name and unique user
ID (UUID) on every participating system to which they are allowed TAC User ID access.
These same UUIDs should not be assigned to non-authorized users.
Users cannot use the feature on systems where their local and remote UUIDs differ, but
they can always use the normal telnet login sequence. Also, there may be a potential
security breach where a user with one UUID may be able to gain entry to participating
systems and accounts where that UUID is assigned to someone else, unless the above
restrictions are followed.
A typical configuration may consist of one or more secure front-end systems and a net-
work of participating hosts. Users who have successfully logged onto the front-end sys-
tem may telnet directly to any participating system without being prompted for
another login.
-y Set the behavior for stty 0 to instruct telnetd to close the connection on the shell
command stty 0 or whenever the telnet client communicates with telnetd to
arrive upon 0 baud rate for TELOPT_TERMSPEED.
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1M−−1013