summaryrefslogtreecommitdiffstats
path: root/eBones/man/rlogin.1
blob: 3e0dc62d78b97b87867aeebdc4103d56602edf32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
.\" from: rlogin.1,v 4.2 89/11/02 11:20:39 jtkohl Exp $
.\" $Id: rlogin.1,v 1.2 1994/07/19 19:28:01 g89r4222 Exp $
.\"
.\" Copyright (c) 1983 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley.  The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\"	@(#)rlogin.1	6.9 (Berkeley) 9/19/88
.\"
.TH RLOGIN 1 "Kerberos Version 4.0" "MIT Project Athena"
.UC 5
.SH NAME
rlogin \- remote login
.SH SYNOPSIS
.B rlogin
rhost [
\fB\-e\fR\fI\|c\fR
] [
.B \-8
] [
.B \-c
] [
.B \-a
] [
.B \-t
termtype ] [
.B \-n
] [
.B \-7
] [
.B \-d
] [
.B \-k
realm ] [
.B \-x
] [
.B \-noflow
] [
.B \-L
] [
.B \-l
username ]
.br
rhost [
\fB\-e\fR\fIc\fR
] [
.B \-8
] [
.B \-c
] [
.B \-a
] [
.B \-t
termtype ] [
.B \-n
] [
.B \-7
] [
.B \-d
] [
.B \-k
realm ] [
.B \-x
] [
.B \-noflow
] [
.B \-L
] [
.B \-l
username ]
.SH DESCRIPTION
.I Rlogin
connects your terminal on the current local host system
.I lhost
to the remote host system
.I rhost.
.PP
The version built to use Kerberos authentication is very similar to the
standard Berkeley rlogin(1), except that instead of the \fIrhosts\fP
mechanism, it uses Kerberos authentication to determine the
authorization to use a remote account.
.PP
Each user may have a private authorization list in a file \&.klogin
in his login directory.  Each line in this file should contain a
Kerberos principal name of the form 
.IR principal.instance@realm .
If the originating user is authenticated to one of the principals named
in \&.klogin, access is granted to the account.  The principal
\fIaccountname\fP.@\fIlocalrealm\fP is granted access if there is no
\&.klogin file. 
Otherwise
a login and password will be prompted for on the remote machine as in
.IR login (1).
To avoid some security problems, the \&.klogin file must be owned by
the remote user.
.PP
If there is some problem in marshaling the Kerberos authentication
information, an error message is printed and the standard UCB rlogin is
executed in place of the Kerberos rlogin.
.PP
A line of the form ``~.'' disconnects from the remote host, where
``~'' is the escape character.
Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character)
will suspend the rlogin session.
Substitution of the delayed-suspend character (normally ^Y)
for the suspend character suspends the send portion of the rlogin,
but allows output from the remote system.
.PP
The remote terminal type is the same as your local
terminal type (as given in your environment TERM variable), unless the
.B \-t
option is specified (see below).
The terminal or window size is also copied to the remote system
if the server supports the option,
and changes in size are reflected as well.
.PP
All echoing takes place at the remote site, so that (except for
delays) the rlogin is transparent.  Flow control via ^S and ^Q and
flushing of input and output on interrupts are handled properly.
.PP
The
.B \-8
option allows an eight-bit input data path at all times;
otherwise parity bits are stripped except when the remote side's
stop and start characters are other than ^S/^Q. Eight-bit mode is the default.
.PP
The
.B \-L
option allows the rlogin session to be run in litout mode.
.PP
The
.B \-e
option allows specification of a different escape character.
There is no space separating this option flag and the new escape
character.
.PP
The
.B \-c
option requires confirmation before disconnecting via ``~.''
.PP
The
.B \-a
option forces the remote machine to ask for a password by sending a null local
username.  This option has no effect unless the standard UCB rlogin is
executed in place of the Kerberos rlogin (see above).
.PP
The
.B \-t
option replaces the terminal type passed to the remote host with
\fItermtype\fP.
.PP
The
.B \-n
option prevents suspension of rlogin via ``~^Z'' or ``~^Y''.
.PP
The
.B \-7
option forces seven-bit transmissions.
.PP
The
.B \-d
option turns on socket debugging (via \fIsetsockopt(2)\fR) on the TCP
sockets used for communication with the remote host.
.PP
The
.B \-noflow
option forces transmission of flow control characters (^S/^Q) to the
remote system.
.PP
The
.B \-k
option requests rlogin to obtain tickets for the remote host in realm
.I realm
instead of the remote host's realm as determined by 
.IR krb_realmofhost (3).
.PP
The
.B \-x
option turns on DES encryption for all data passed via the
rlogin session.  This significantly reduces response time and
significantly increases CPU utilization.
.SH SEE ALSO
rsh(1), kerberos(3), krb_sendauth(3), krb_realmofhost(3),
rlogin(1) [UCB version]
.SH FILES
/usr/hosts/*		for \fIrhost\fP version of the command
.SH BUGS
More of the environment should be propagated.
OpenPOWER on IntegriCloud