Correct copyright. Man page installation. Lint fix up. Name change.
[unix-history] / usr / src / usr.bin / rlogin / rlogin.1
CommitLineData
9e682bbf
KB
1.\" Copyright (c) 1983 The Regents of the University of California.
2.\" All rights reserved.
3f1cd9e6 3.\"
9e682bbf
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
3f1cd9e6 15.\"
9e682bbf
KB
16.\" @(#)rlogin.1 6.9 (Berkeley) %G%
17.\"
18.TH RLOGIN 1 ""
3f1cd9e6
KM
19.UC 5
20.SH NAME
21rlogin \- remote login
22.SH SYNOPSIS
23.B rlogin
24rhost [
25\fB\-e\fR\fI\|c\fR
26] [
c4e935d1
KM
27.B \-8
28] [
50964ee5
JB
29.B \-L
30] [
3f1cd9e6
KM
31.B \-l
32username ]
33.br
34rhost [
35\fB\-e\fR\fIc\fR
36] [
c4e935d1
KM
37.B \-8
38] [
50964ee5
JB
39.B \-L
40] [
3f1cd9e6
KM
41.B \-l
42username ]
43.SH DESCRIPTION
44.I Rlogin
45connects your terminal on the current local host system
46.I lhost
47to the remote host system
48.I rhost.
49.PP
50Each host has a file
51.I /etc/hosts.equiv
52which contains a list of \fIrhost\fR's with which it shares account names.
53(The host names must be the standard names as described in
54.IR rsh (1C).)
55When you
56.I rlogin
57as the same user on an equivalent host, you don't need
58to give a password.
59Each user may also have a private equivalence list in a file \&.rhosts
9afe8aba 60in his login directory. Each line in this file should contain an \fIrhost\fP
3f1cd9e6
KM
61and a \fIusername\fP separated by a space, giving additional cases
62where logins without passwords are to be permitted.
63If the originating user is not equivalent to the remote user, then
64a login and password will be prompted for on the remote machine as in
65.IR login (1).
66To avoid some security problems, the \&.rhosts file must be owned by
5154691a 67either the remote user or root.
3f1cd9e6 68.PP
9afe8aba 69The remote terminal type is the same as your local
3f1cd9e6 70terminal type (as given in your environment TERM variable).
9afe8aba
MK
71The terminal or window size is also copied to the remote system
72if the server supports the option,
73and changes in size are reflected as well.
3f1cd9e6
KM
74All echoing takes place at the remote site, so that (except for
75delays) the rlogin is transparent. Flow control via ^S and ^Q and
76flushing of input and output on interrupts are handled properly.
c4e935d1
KM
77The optional argument
78.B \-8
9afe8aba 79allows an eight-bit input data path at all times;
2606c598
JL
80otherwise parity bits are stripped except when the remote side's
81stop and start characters are other than ^S/^Q.
50964ee5
JB
82The argument
83.B \-L
84allows the rlogin session to be run in litout mode.
3f1cd9e6 85A line of the form ``~.'' disconnects from the remote host, where
c4e935d1
KM
86``~'' is the escape character.
87Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character)
88will suspend the rlogin session.
89Substitution of the delayed-suspend character (normally ^Y)
90for the suspend character suspends the send portion of the rlogin,
91but allows output from the remote system.
92A different escape character may
3f1cd9e6
KM
93be specified by the
94.B \-e
95option.
96There is no space separating this option flag and the argument
97character.
98.SH SEE ALSO
99rsh(1C)
100.SH FILES
101/usr/hosts/* for \fIrhost\fP version of the command
102.SH BUGS
db8b94d6 103More of the environment should be propagated.