Commit | Line | Data |
---|---|---|
3f1cd9e6 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
3bc67b6e | 5 | .\" @(#)rlogin.1 6.8 (Berkeley) %G% |
3f1cd9e6 | 6 | .\" |
c4e935d1 | 7 | .TH RLOGIN 1C "" |
3f1cd9e6 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | rlogin \- remote login | |
11 | .SH SYNOPSIS | |
12 | .B rlogin | |
13 | rhost [ | |
14 | \fB\-e\fR\fI\|c\fR | |
15 | ] [ | |
c4e935d1 KM |
16 | .B \-8 |
17 | ] [ | |
50964ee5 JB |
18 | .B \-L |
19 | ] [ | |
3f1cd9e6 KM |
20 | .B \-l |
21 | username ] | |
22 | .br | |
23 | rhost [ | |
24 | \fB\-e\fR\fIc\fR | |
25 | ] [ | |
c4e935d1 KM |
26 | .B \-8 |
27 | ] [ | |
50964ee5 JB |
28 | .B \-L |
29 | ] [ | |
3f1cd9e6 KM |
30 | .B \-l |
31 | username ] | |
32 | .SH DESCRIPTION | |
33 | .I Rlogin | |
34 | connects your terminal on the current local host system | |
35 | .I lhost | |
36 | to the remote host system | |
37 | .I rhost. | |
38 | .PP | |
39 | Each host has a file | |
40 | .I /etc/hosts.equiv | |
41 | which contains a list of \fIrhost\fR's with which it shares account names. | |
42 | (The host names must be the standard names as described in | |
43 | .IR rsh (1C).) | |
44 | When you | |
45 | .I rlogin | |
46 | as the same user on an equivalent host, you don't need | |
47 | to give a password. | |
48 | Each user may also have a private equivalence list in a file \&.rhosts | |
9afe8aba | 49 | in his login directory. Each line in this file should contain an \fIrhost\fP |
3f1cd9e6 KM |
50 | and a \fIusername\fP separated by a space, giving additional cases |
51 | where logins without passwords are to be permitted. | |
52 | If the originating user is not equivalent to the remote user, then | |
53 | a login and password will be prompted for on the remote machine as in | |
54 | .IR login (1). | |
55 | To avoid some security problems, the \&.rhosts file must be owned by | |
5154691a | 56 | either the remote user or root. |
3f1cd9e6 | 57 | .PP |
9afe8aba | 58 | The remote terminal type is the same as your local |
3f1cd9e6 | 59 | terminal type (as given in your environment TERM variable). |
9afe8aba MK |
60 | The terminal or window size is also copied to the remote system |
61 | if the server supports the option, | |
62 | and changes in size are reflected as well. | |
3f1cd9e6 KM |
63 | All echoing takes place at the remote site, so that (except for |
64 | delays) the rlogin is transparent. Flow control via ^S and ^Q and | |
65 | flushing of input and output on interrupts are handled properly. | |
c4e935d1 KM |
66 | The optional argument |
67 | .B \-8 | |
9afe8aba | 68 | allows an eight-bit input data path at all times; |
2606c598 JL |
69 | otherwise parity bits are stripped except when the remote side's |
70 | stop and start characters are other than ^S/^Q. | |
50964ee5 JB |
71 | The argument |
72 | .B \-L | |
73 | allows the rlogin session to be run in litout mode. | |
3f1cd9e6 | 74 | A line of the form ``~.'' disconnects from the remote host, where |
c4e935d1 KM |
75 | ``~'' is the escape character. |
76 | Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character) | |
77 | will suspend the rlogin session. | |
78 | Substitution of the delayed-suspend character (normally ^Y) | |
79 | for the suspend character suspends the send portion of the rlogin, | |
80 | but allows output from the remote system. | |
81 | A different escape character may | |
3f1cd9e6 KM |
82 | be specified by the |
83 | .B \-e | |
84 | option. | |
85 | There is no space separating this option flag and the argument | |
86 | character. | |
87 | .SH SEE ALSO | |
88 | rsh(1C) | |
89 | .SH FILES | |
90 | /usr/hosts/* for \fIrhost\fP version of the command | |
91 | .SH BUGS | |
db8b94d6 | 92 | More of the environment should be propagated. |