RLOGIN(1C) — Unix Programmer’s Manual
NAME
rlogin − remote login
SYNOPSIS
rlogin rhost [ options ]
rhost [ options ]
DESCRIPTION
Rlogin connects the user’s terminal on the current local host system lhost to the remote host system rhost.
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 rsh(1C).) When the user logs in using rlogin, as the same user on an equivalent host, a password is not needed. Each user may also have a private equivalence list in a file .rhosts in his or her login directory. Each line in this file should contain an rhost and a username separated by a space, giving additional cases in which logins without passwords are to be permitted. 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 and may not be a symbolic link.
The user’s remote terminal type is the same as his or her local terminal type (as given in the environment TERM variable). All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S and ^Q and flushing of input and output on interrupts are handled properly. A line of the form “ ~. ” disconnects from the remote host, where ~ is the escape character.
OPTIONS
−ec Specifies a new escape character c, to replace the default ~. There is no space separating the option flag and the argument character.
−l user User is login name on remote system.
rlogin If /usr/hosts is in the search path, entering the command rlogin is optional.
SEE ALSO
FILES
/usr/hosts/∗for rhost version of the command
BUGS
More terminal characteristics should be propagated.
4th Berkeley Distribution — 1 August 1985