HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
r
rlogin(1) rlogin(1)
-ee Set the escape character to e. There is no space separating the option letter and the
argument character. To start a line with the escape character, two of the escape char-
acters must be entered. The default escape character is tilde (
˜). Some characters
may conflict with your terminal configuration, such as
ˆS, ˆQ, or backspace. Using
one of these as the escape character may not be possible or may cause problems com-
municating with the remote host (see stty(1) and tty(7)).
-l username This option can be used to set the user login name on the remote host to username.
The default name is the current account name of the user invoking
rlogin.
Kerberos-Specific Options
The default Kerberos options for the applications are set in the
krb5.conf file. (For more information,
refer to the [appdefaults] section in the krb5.conf(4) manpage in the Kerberos Client product). The options
-f and -F, described in the subsequent paragraphs, can be set in the
krb5.conf file with the tag names
forward and forwardable, respectively.
The fallback option can be set in the
krb5.conf file in the [appdefaults] section. If the
fallback
option is set to true and the Kerberos authentication fails,
rlogin uses the non-secure mode of authenti-
cation.
NOTE: Command line options override the configuration file options.
-f This option is only applicable in a secure environment based on Kerberos V5. It can
be used to forward the ticket granting ticket (TGT) to the remote system. The TGT is
not forwardable from there.
NOTE: This option is not supported on IPv6 enabled systems.
-F This option is only applicable in a secure environment based on Kerberos V5. It can
be used to forward the TGT to the remote system and have it forwardable from there
to another remote system. The -f option and -F option are mutually exclusive.
NOTE: This option is not supported on IPv6 enabled systems.
-k realm This option is applicable only in a Kerberos V5 based secure environment. It can be
used to obtain tickets from the remote host in a specified realm, instead of the remote
host’s default realm, as specified in the
krb.realms configuration file.
NOTE: This option is not supported on IPv6-enabled systems.
-P This option disables Kerberos authentication and is applicable only in a Kerberos V5
based secure environment. A password is required when this option is specified and
the password is sent across the network in cleartext. To avoid the normal
login/password sequence, login to a remote host using an equivalent account in a
manner similar to the remsh command. For details see hosts.equiv(4).
NOTE: This option is not supported on IPv6-enabled systems.
Escape Sequences
rlogin can be controlled with two-character escape sequences, in the form ex, where e is the escape char-
acter and x is a code character described below. Escape sequences are recognized only at the beginning of a
line of input. The default escape character is tilde (
˜). It can be changed with the -e option.
The following escape sequences are recognized:
ey If y is NOT a code character described below, pass the escape character and y as characters to
the remote host.
ee Pass the escape character as a character to the remote host.
e. Disconnect from the remote host.
e! Escape to a subshell on the local host. Use exit to return to the remote host.
If rlogin is run from a shell that supports job control (see csh(1), ksh(1), and sh-posix(1)), escape
sequences can be used to suspend rlogin. The following escape sequences assume that ˆZ and ˆY
are set as the user’s susp and dsusp characters, respectively (see stty(1) and termio(7)).
eˆZ Suspend the rlogin session and return the user to the shell that invoked rlogin. The rlo-
gin
job can be resumed with the fg command (see csh(1), ksh(1), and sh-posix(1)). eˆZ
suspends both rlogin processes: the one transmitting user input to the remote login, and the
one displaying output from the remote login.
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1−−835