| 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 | .\" |
| 5 | .\" @(#)rlogin.1 6.3 (Berkeley) %G% |
| 6 | .\" |
| 7 | .TH RLOGIN 1C "" |
| 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 | ] [ |
| 16 | .B \-8 |
| 17 | ] [ |
| 18 | .B \-L |
| 19 | ] [ |
| 20 | .B \-l |
| 21 | username ] |
| 22 | .br |
| 23 | rhost [ |
| 24 | \fB\-e\fR\fIc\fR |
| 25 | ] [ |
| 26 | .B \-8 |
| 27 | ] [ |
| 28 | .B \-L |
| 29 | ] [ |
| 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 |
| 49 | in his login directory. Each line in this file should contain a \fIrhost\fP |
| 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 |
| 56 | either the remote user or root and may not be a symbolic link. |
| 57 | .PP |
| 58 | Your remote terminal type is the same as your local |
| 59 | terminal type (as given in your environment TERM variable). |
| 60 | All echoing takes place at the remote site, so that (except for |
| 61 | delays) the rlogin is transparent. Flow control via ^S and ^Q and |
| 62 | flushing of input and output on interrupts are handled properly. |
| 63 | The optional argument |
| 64 | .B \-8 |
| 65 | allows an eight-bit data path, |
| 66 | otherwise parity bits are stripped. |
| 67 | The argument |
| 68 | .B \-L |
| 69 | allows the rlogin session to be run in litout mode. |
| 70 | A line of the form ``~.'' disconnects from the remote host, where |
| 71 | ``~'' is the escape character. |
| 72 | Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character) |
| 73 | will suspend the rlogin session. |
| 74 | Substitution of the delayed-suspend character (normally ^Y) |
| 75 | for the suspend character suspends the send portion of the rlogin, |
| 76 | but allows output from the remote system. |
| 77 | A different escape character may |
| 78 | be specified by the |
| 79 | .B \-e |
| 80 | option. |
| 81 | There is no space separating this option flag and the argument |
| 82 | character. |
| 83 | .SH SEE ALSO |
| 84 | rsh(1C) |
| 85 | .SH FILES |
| 86 | /usr/hosts/* for \fIrhost\fP version of the command |
| 87 | .SH BUGS |
| 88 | More terminal characteristics should be propagated. |