Commit | Line | Data |
---|---|---|
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 | |
21 | rlogin \- remote login | |
22 | .SH SYNOPSIS | |
23 | .B rlogin | |
24 | rhost [ | |
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 |
32 | username ] | |
33 | .br | |
34 | rhost [ | |
35 | \fB\-e\fR\fIc\fR | |
36 | ] [ | |
c4e935d1 KM |
37 | .B \-8 |
38 | ] [ | |
50964ee5 JB |
39 | .B \-L |
40 | ] [ | |
3f1cd9e6 KM |
41 | .B \-l |
42 | username ] | |
43 | .SH DESCRIPTION | |
44 | .I Rlogin | |
45 | connects your terminal on the current local host system | |
46 | .I lhost | |
47 | to the remote host system | |
48 | .I rhost. | |
49 | .PP | |
50 | Each host has a file | |
51 | .I /etc/hosts.equiv | |
52 | which 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).) | |
55 | When you | |
56 | .I rlogin | |
57 | as the same user on an equivalent host, you don't need | |
58 | to give a password. | |
59 | Each user may also have a private equivalence list in a file \&.rhosts | |
9afe8aba | 60 | in his login directory. Each line in this file should contain an \fIrhost\fP |
3f1cd9e6 KM |
61 | and a \fIusername\fP separated by a space, giving additional cases |
62 | where logins without passwords are to be permitted. | |
63 | If the originating user is not equivalent to the remote user, then | |
64 | a login and password will be prompted for on the remote machine as in | |
65 | .IR login (1). | |
66 | To avoid some security problems, the \&.rhosts file must be owned by | |
5154691a | 67 | either the remote user or root. |
3f1cd9e6 | 68 | .PP |
9afe8aba | 69 | The remote terminal type is the same as your local |
3f1cd9e6 | 70 | terminal type (as given in your environment TERM variable). |
9afe8aba MK |
71 | The terminal or window size is also copied to the remote system |
72 | if the server supports the option, | |
73 | and changes in size are reflected as well. | |
3f1cd9e6 KM |
74 | All echoing takes place at the remote site, so that (except for |
75 | delays) the rlogin is transparent. Flow control via ^S and ^Q and | |
76 | flushing of input and output on interrupts are handled properly. | |
c4e935d1 KM |
77 | The optional argument |
78 | .B \-8 | |
9afe8aba | 79 | allows an eight-bit input data path at all times; |
2606c598 JL |
80 | otherwise parity bits are stripped except when the remote side's |
81 | stop and start characters are other than ^S/^Q. | |
50964ee5 JB |
82 | The argument |
83 | .B \-L | |
84 | allows the rlogin session to be run in litout mode. | |
3f1cd9e6 | 85 | A line of the form ``~.'' disconnects from the remote host, where |
c4e935d1 KM |
86 | ``~'' is the escape character. |
87 | Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character) | |
88 | will suspend the rlogin session. | |
89 | Substitution of the delayed-suspend character (normally ^Y) | |
90 | for the suspend character suspends the send portion of the rlogin, | |
91 | but allows output from the remote system. | |
92 | A different escape character may | |
3f1cd9e6 KM |
93 | be specified by the |
94 | .B \-e | |
95 | option. | |
96 | There is no space separating this option flag and the argument | |
97 | character. | |
98 | .SH SEE ALSO | |
99 | rsh(1C) | |
100 | .SH FILES | |
101 | /usr/hosts/* for \fIrhost\fP version of the command | |
102 | .SH BUGS | |
db8b94d6 | 103 | More of the environment should be propagated. |