HP-UX Reference (11i v2 04/09) - 1 User Commands N-Z (vol 2)

r
rlogin(1) rlogin(1)
characters may conflict with your terminal configuration, such as
ˆS, ˆQ, or back-
space. Using one of these as the escape character may not be possible or may cause
problems communicating 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 configuration file. Refer to
the appdefaults Section in the krb5.conf (4) manpage for more information. 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. Refer to the krb5.conf (4) manpage for more information on the appde-
faults Section .
The
fallback option can be set in the
krb5.conf file within appdefaults Section .Iffallback is set
to true and the kerberos authentication fails,
rlogin will use the non-secure mode of authentication.
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.
-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.
-k realm
This option is only applicable in a secure environment based on Kerberos V5. It can be used to
obtain tickets from the remote host in the specified realm instead of the remote host’s default
realm as specified in the configuration file krb.realms.
Escape Sequences
rlogin can be controlled with two-character escape sequences, in the form ex, where e is the escape
character and x is a code character described below. Escape sequences are recognized only at the begin-
ning 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
rlogin 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.
e
ˆY Suspend the rlogin session and return the user to the shell that invoked rlogin. The
rlogin job can be resumed with the fg command (see csh(1), ksh(1), and sh-posix(1)). eˆY
suspends only the input process; output from the remote login continues to be displayed.
If you "daisy-chain" remote logins (for example, you
rlogin from host A to host B and then rlogin
from host B to host C) without setting unique escape characters, you can repeat the escape character until
it reaches your chosen destination. For example, the first escape character, e, is seen as an escape char-
acter on host A; the second e is passed as a normal character by host A and seen as an escape character
on host B; a third e is passed as a normal character by hosts A and B and accepted as a normal character
by host C.
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 1797