|
|
1.1 root 1: .TH RLOGIN 1C "10 February 1983"
2: .UC 4
3: .SH NAME
4: rlogin \- remote login
5: .SH SYNOPSIS
6: .B rlogin
7: rhost [
8: \fB\-e\fR\fI\|c\fR
9: ] [
10: .B \-l
11: \fIusername\fR ]
12: .br
13: rhost [
14: \fB\-e\fR\fIc\fR
15: ] [
16: .B \-l
17: \fIusername\fR ]
18: .SH DESCRIPTION
19: .I Rlogin
20: connects your terminal on the current local system
21: .I lhost
22: to the remote system
23: .I rhost.
24: If an user has an 'equivalent' account in a remote system, he
25: doesn't need to give a password for remote login. Furthermore, the equivalent
26: account can be different from the local account.
27: .PP
28: An user has an equivalent account at the remote host if at that host: (a)
29: he is authorized in an equivalence list, and (b) the remote account exists.
30: The equivalence list is the file
31: .I /etc/hosts.equiv
32: or the file
33: .I .rhosts
34: in the home directory of the remote account. Format of the file entries
35: will be described below.
36: .PP
37: The system always searches
38: .I /etc/hosts.equiv
39: before searching
40: .I .rhosts.
41: However, if the remote user wants to login as a superuser, the system
42: only searches
43: .I .rhosts
44: in the root directory.
45: .LP
46: If the originating user is not equivalent to the remote user, then
47: a login and password will be prompted for on the remote machine as in
48: .IR login (1).
49: To avoid some security problems, the
50: .I .rhosts
51: file must be owned by
52: either the remote user or root and may not be a symbolic link.
53: .PP
54: Your remote terminal type is the same as your local
55: terminal type (as given in your environment TERM variable).
56: All echoing takes place at the remote site. Flow control via stop
57: character (default is ^S) and start character (default is ^Q) and
58: flushing of input and output on interrupts are handled properly.
59: .I Rlogin
60: is almost transparent; it has some command lines. An
61: .I rlogin
62: command line is started by typing the line feed or carriage return character,
63: followed by
64: a "~" (referred to as the
65: .I escape
66: character), a command character, and terminated by
67: the line feed or carriage return character. The following characters
68: are recognized as command characters:
69: .TP
70: dot (".") character
71: terminate the session.
72: .TP
73: suspend character
74: suspend
75: .I rlogin.
76: The user is put back to the local shell; inputs from
77: terminal is not transmitted to remote processes;
78: output from remote processes are not displayed.
79: In the new tty line discipline, the suspend character is control-z
80: by default. The user can change the suspend character with the
81: .I stty
82: command.
83: .TP
84: delayed suspend character
85: suspend the
86: .I rlogin.
87: The user is put back to the local shell; inputs from
88: terminal is not transmitted to the remote processes;
89: output from remote processes are displayed.
90: In the new tty line discipline, the delayed suspend character is
91: control-y by default. The user can change the delayed suspend character
92: with the
93: .I stty
94: command.
95: .PP
96: Optional arguments to
97: .I rlogin
98: are:
99: .TP
100: -e\fIc\fP
101: Specify
102: .I c
103: as the escape character.
104: There is no space separating this option flag and the argument
105: character.
106: .TP
107: -l \fIusername\fP
108: log into the remote host as a different user
109: .I username.
110: There is space separating this option flag and the argument value.
111:
112: .PP
113: Remote host might terminate
114: the session if the user's terminal is idle for more than 5 minutes.
115: .PP
116: \fIFORMAT OF EQUIVALENCE LISTS\fP
117: .PP
118: The format of each line in the equivalence list is:
119:
120: .RS
121: .I remote-host
122: .I remote-user
123:
124: or
125:
126: .I remote-host
127:
128: .RE
129: .I Remote-host
130: must be the standard names as described in
131: .IR rsh (1C).
132: The field
133: .I remote-user
134: must be specified if an user wishes to allow a different user to log
135: into his/her account without giving a password.
136: .PP
137: An inactive session is disconnected after 5 minutes if the local host
138: name is not in the file
139: .I /etc/keeprlogin
140: at the remote host.
141: However, inactive sessions will always be disconnected after half an hour.
142: A session is inactive if there is no terminal I/Os.
143: .SH SEE ALSO
144: rsh(1C)
145:
146: rshd(8C) on how a system validates a remote user.
147:
148: stty(1)
149: .SH FILES
150: /usr/hosts/* for \fIrhost\fP version of the command
151: .SH BUGS
152: More terminal characteristics should be propagated.
153: .PP
154: There must be
155: .I exactly
156: one blank (not tab character) between the fields
157: .I remote-host
158: and
159: .I remote-user
160: in the equivalence list.
161: If
162: .I remote-user
163: field does not exist, no blanks should follow the field
164: .I remote-host.
165: .PP
166: Any line starting with a
167: .I rlogin
168: command
169: will be recognized as
170: .I rlogin
171: command.
172: .PP
173:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.