|
|
Power 6/32 Unix version 1.21
.TH RLOGIN 1C "10 February 1983"
.UC 4
.SH NAME
rlogin \- remote login
.SH SYNOPSIS
.B rlogin
rhost [
\fB\-e\fR\fI\|c\fR
] [
.B \-l
\fIusername\fR ]
.br
rhost [
\fB\-e\fR\fIc\fR
] [
.B \-l
\fIusername\fR ]
.SH DESCRIPTION
.I Rlogin
connects your terminal on the current local system
.I lhost
to the remote system
.I rhost.
If an user has an 'equivalent' account in a remote system, he
doesn't need to give a password for remote login. Furthermore, the equivalent
account can be different from the local account.
.PP
An user has an equivalent account at the remote host if at that host: (a)
he is authorized in an equivalence list, and (b) the remote account exists.
The equivalence list is the file
.I /etc/hosts.equiv
or the file
.I .rhosts
in the home directory of the remote account. Format of the file entries
will be described below.
.PP
The system always searches
.I /etc/hosts.equiv
before searching
.I .rhosts.
However, if the remote user wants to login as a superuser, the system
only searches
.I .rhosts
in the root directory.
.LP
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
.IR login (1).
To avoid some security problems, the
.I .rhosts
file must be owned by
either the remote user or root and may not be a symbolic link.
.PP
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. Flow control via stop
character (default is ^S) and start character (default is ^Q) and
flushing of input and output on interrupts are handled properly.
.I Rlogin
is almost transparent; it has some command lines. An
.I rlogin
command line is started by typing the line feed or carriage return character,
followed by
a "~" (referred to as the
.I escape
character), a command character, and terminated by
the line feed or carriage return character. The following characters
are recognized as command characters:
.TP
dot (".") character
terminate the session.
.TP
suspend character
suspend
.I rlogin.
The user is put back to the local shell; inputs from
terminal is not transmitted to remote processes;
output from remote processes are not displayed.
In the new tty line discipline, the suspend character is control-z
by default. The user can change the suspend character with the
.I stty
command.
.TP
delayed suspend character
suspend the
.I rlogin.
The user is put back to the local shell; inputs from
terminal is not transmitted to the remote processes;
output from remote processes are displayed.
In the new tty line discipline, the delayed suspend character is
control-y by default. The user can change the delayed suspend character
with the
.I stty
command.
.PP
Optional arguments to
.I rlogin
are:
.TP
-e\fIc\fP
Specify
.I c
as the escape character.
There is no space separating this option flag and the argument
character.
.TP
-l \fIusername\fP
log into the remote host as a different user
.I username.
There is space separating this option flag and the argument value.
.PP
Remote host might terminate
the session if the user's terminal is idle for more than 5 minutes.
.PP
\fIFORMAT OF EQUIVALENCE LISTS\fP
.PP
The format of each line in the equivalence list is:
.RS
.I remote-host
.I remote-user
or
.I remote-host
.RE
.I Remote-host
must be the standard names as described in
.IR rsh (1C).
The field
.I remote-user
must be specified if an user wishes to allow a different user to log
into his/her account without giving a password.
.PP
An inactive session is disconnected after 5 minutes if the local host
name is not in the file
.I /etc/keeprlogin
at the remote host.
However, inactive sessions will always be disconnected after half an hour.
A session is inactive if there is no terminal I/Os.
.SH SEE ALSO
rsh(1C)
rshd(8C) on how a system validates a remote user.
stty(1)
.SH FILES
/usr/hosts/* for \fIrhost\fP version of the command
.SH BUGS
More terminal characteristics should be propagated.
.PP
There must be
.I exactly
one blank (not tab character) between the fields
.I remote-host
and
.I remote-user
in the equivalence list.
If
.I remote-user
field does not exist, no blanks should follow the field
.I remote-host.
.PP
Any line starting with a
.I rlogin
command
will be recognized as
.I rlogin
command.
.PP
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.