rlogin(1N) rlogin(1N)
NAME
rlogin - remote login
SYNOPSIS
rlogin rhost [-8] [-ec] [-lusername]
rhost [-8] [-ec] [-lusername]
DESCRIPTION
rlogin connects your terminal on the current local host
system lhost to the remote host system rhost via a local
network running B-NET software. On the remote side, you get
whatever shell is set up for that account.
Each host has a file /etc/hosts.equiv which contains a list
of rhost's with which it shares account names. (The hosts
names must be the standard names as described in remsh(1N)).
When you rlogin as the same user on an equivalent host, you
don't need to give a password. Each user may also have a
private equivalence list in a file .rhosts in his login
directory. Each line in this file should contain a rhost
and a username separated by a space, giving additional cases
where 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.
Your remote terminal type is the same as your local terminal
type (as given in your 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. The optional argument -8 allows an
eight-bit data path, otherwise parity bits are stripped. A
line of the format ~. disconnects from the remote host,
where ~. is the escape character. A different escape
character may be specified by the -e flag option. There is
no space separating this flag option and the argument
character.
The second form of this command requires some preparation
before it will work. The system administrator must pave the
way by setting up a directory, usually /usr/hosts, including
the following command:
# ln /usr/bin/remsh hostname
which links the remsh binaries to hostname. This works for
both rlogin and remsh, since the remsh command without a
command argument is the equivalent of the rlogin command.
You must then include /usr/hosts (or the directory chosen by
your system administrator) in the search path specified in
your .login or .profile in order for the second form of this
Page 1 (last mod. 1/16/87)
rlogin(1N) rlogin(1N)
command to work.
FILES
/usr/bin/rlogin
/usr/hosts/* for rhost version of the command
SEE ALSO
remsh(1N).
BUGS
More terminal characteristics should be propagated.
Page 2 (last mod. 1/16/87)