RLOGIN(1C) Domain/OS SysV RLOGIN(1C)
NAME
rlogin - remote login
SYNOPSIS
rlogin rhost [ -ec ] [ -8 ] [ -L ] [ -l username ]
rhost [ -ec ] [ -8 ] [ -L ] [ -l username ]
DESCRIPTION
rlogin connects your terminal on the current local host system lhost to
the remote host system rhost. The second form of the command shown in the
synopsis requires that you place host names as commands in the directory
/usr/hosts, and put this directory in your search path. You can then
omit rlogin and enter only the host name (rhost) to remotely log in to a
remote host.
Each host has a file, /etc/hosts.equiv, that contains a list of rhosts
with which it shares account names. (The host names must be the standard
names as described in remsh(1C).) When you execute rlogin as the same
user on an equivalent host, you don't need to provide a password. Each
user may also have a private equivalence list in a file .rhosts in his or
her log-in directory. Each line in this file should contain an rhost and
a username separated by a space, giving additional cases where logins
without passwords are to be permitted. Note however, if your password has
been overriden on the remote host, you will be prompted for a password
regardless of how you log in.
If the originating user is not equivalent to the remote user, then a
login and password will be prompted for on the remote machine as in
login(1). To avoid some security problems, the .rhosts file must be
owned by either the remote user or root.
The remote terminal type is the same as your local terminal type (as
given in your environment TERM variable). The terminal or window size is
also copied to the remote system if the server supports the option, and
changes in size are reflected as well. All echoing takes place at the
remote site, so that (except for delays) the rlogin is transparent. Flow
control via CTRL/S and CTRL/Q and flushing of input and output on
interrupts are handled properly.
To disconnect from the remote host, use a tilde followed by a period
(~.). The tilde is the escape character. Similarly, to suspend the
rlogin session, use ^Z, CTRL/Z, the suspend character. Using CTRL/Y (the
delayed-suspend character), you can suspend the the send portion of the
rlogin, but allow output from the remote system. Use the -e option to
specify a different escape character.
OPTIONS
-ec Specify c as the escape character to use. There is no space
separating -e and the argument character.
-8 Allows an eight-bit input data path at all times; otherwise
parity bits are stripped except when the remote side's stop and
start characters are other than CTRL/S and CTRL/Q.
-L Allows the rlogin session to be run in litout mode.
-l username
Specify a different username. This is necessary when the
originating user is not equivalent to the remote user.
FILES
/usr/hosts/* for rhost version of the command
BUGS
More of the environment should be propagated.
SEE ALSO
remsh(1C)