Index of Section 1 Manual Pages
| Interix / SUA | rlogin.1 | Interix / SUA |
rlogin(1) rlogin(1)
rlogin
NAME
rlogin - remote login
SYNOPSIS
rlogin [-8ELDd] [-e char] [-l username] host
DESCRIPTION
The rlogin(1) utility starts a terminal session on a remote host host. The
host name can be specified in either name or numeric dot notation.
The rlogin(1) utility first attempts to use the Kerberos authorization
mechanism, described later in this topic. If the remote host does not
support Kerberos, the standard Berkeley .rhosts authorization mechanism is
used. The options are as follows:
-8
The -8 option 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 ^S/^Q.
-D
The -D option prefixes both the remote and local user names with the
user's Windows domain name. (By default, both remote and local user
names are the user name without the domain.) The argument to the -
l option will always override the remote user name value. This option
should only be used when connecting with another Interix system.
-d
The -d option turns on socket debugging (see setsockopt(2)) on the
transmission control protocol (TCP) sockets used for communication
with the remote host.
-E
The -E option stops any character from being recognized as an escape
character. When used with the -8 option, this provides a completely
transparent connection.
-e
The -e option allows user specification of the escape character, which
is ~ by default. This specification can be as a literal character, or
as an octal value in the form \nnn.
-K
The -K option turns off all Kerberos authentication.
-L
The -L option allows the rlogin session to be run in "litout" (see
tty(1)) mode.
-l
The -l option specifies a different username for the remote login. If
this option is not specified, your local user name will be used.
A line of the form escape_char. (that is, the escape character followed by
a period) disconnects from the remote host. Similarly, the line
escape_char followed by CTRL+Z (^Z) suspends the rlogin(1) session, and
escape_char followed by delayed-suspend_char suspends the send portion of
the rlogin, but allows output from the remote system. By default, the
tilde (~) character is the escape character, and CTRL+Y (^Y) is usually
the delayed-suspend character.
All echoing takes place at the remote site, so that (except for delays)
the rlogin(1) is transparent. Flow control through ^S/^Q and flushing of
input and output on interrupts are handled properly.
Interix authentication
On traditional systems, a user can rlogin(1) to a system identified in the
user's .rhosts file without providing a password. This is because on a
traditional system, the rlogind(1) program is run as the superuser, and
can take any login identity. This might or might not work on an Interix
system, because of differences in the user authentication mechanism:
* If the daemon is running as the user SYSTEM, this will work.
* If the daemon is not running as SYSTEM, the password of the account
used to run the daemon must be stored using the regpwd(1) utility.
* If the iruserok(3) function indicates that the address might have
been spoofed, the user will be prompted for a password, regardless
of the user identifier (ID) of the daemon.
(The test is done by converting the host number to a host name and then
converting the host name to a host number; if the two host numbers do not
match, the address might have been spoofed. A user can get similar results
by using nslookup(1) to check both the host name and the host number.)
NOTES
If the name of the binary is a host name (that is, if there is a hard link
to rlogin(1) that is the name of a known host), rlogin(1) automatically
opens a connection to the host.
FILES
The rcp(1) and rshd(1) programs make use of the following files, if they
exist:
/etc/hosts.equiv
On the target system, this file contains the names of systems and
users allowed to login. See rlogind(1) for more information.
$HOME/.rhosts
On the target system, this file can contain the names of systems (and
user names) allowed to login. See rlogind(1) for more information.
ENVIRONMENT
The following environment variable is utilized by rlogin:(1)
TERM
Determines the user's terminal type.
BUGS
More of the environment should be propagated.
SEE ALSO
rlogind(1)
rsh(1)