1 .\" Copyright (c) 1983, 1990, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)rlogin.1 8.1 (Berkeley) 6/6/93
33 .\" $FreeBSD: src/usr.bin/rlogin/rlogin.1,v 1.11.2.7 2002/06/21 15:28:48 charnier Exp $
52 utility starts a terminal session on a remote host
58 first attempts to use the Kerberos authorization mechanism, described below.
59 If the remote host does not support Kerberos the standard Berkeley
61 authorization mechanism is used.
62 The options are as follows:
65 Use IPv4 addresses only.
67 Use IPv6 addresses only.
71 option allows an eight-bit input data path at all times; otherwise
72 parity bits are stripped except when the remote side's stop and start
73 characters are other than
78 option sets the TCP_NODELAY socket option which can improve interactive response
79 at the expense of increased network load.
83 option stops any character from being recognized as an escape character.
86 option, this provides a completely transparent connection.
90 option turns off all Kerberos authentication.
94 option allows the rlogin session to be run in
102 option turns on socket debugging (see
104 on the TCP sockets used for communication with the remote host.
108 option allows user specification of the escape character, which is
111 This specification may be as a literal character, or as an octal
112 value in the form \ennn.
116 option allows the caller to specify a different local name to be used
117 for authentication. This option is restricted to processes with uid 0.
121 option requests rlogin to obtain tickets for the remote host
124 instead of the remote host's realm as determined by
125 .Xr krb_realmofhost 3 .
129 option specifies a different
131 for the remote login.
132 If this option is not specified, your local username will be used.
138 encryption for all data passed via the
140 This may impact response time and
142 utilization, but provides
148 disconnects from the remote host.
150 .Dq Ao escape char Ac Ns ^Z
154 .Dq Ao escape\ char Ac Ns Ao delayed-suspend\ char Ac
156 send portion of the rlogin, but allows output from the remote system.
157 By default, the tilde
159 character is the escape character, and
162 is the delayed-suspend character.
164 All echoing takes place at the remote site, so that (except for delays)
168 Flow control via ^S/^Q and flushing of input and output on interrupts
169 are handled properly.
170 .Sh KERBEROS AUTHENTICATION
171 Each user may have a private authorization list in the file
173 in their home directory.
174 Each line in this file should contain a Kerberos principal name of the
176 .Ar principal.instance@realm .
177 If the originating user is authenticated to one of the principals named
180 access is granted to the account.
182 .Ar accountname.@localrealm
187 Otherwise a login and password will be prompted for on the remote machine
190 To avoid certain security problems, the
192 file must be owned by
195 If Kerberos authentication fails, a warning message is printed and the
200 The following environment variable is utilized by
204 Determines the user's terminal type.
212 .Xr krb_realmofhost 3 ,
222 .Bl -tag -width /etc/hosts -compact
224 .It Pa /etc/hosts.equiv
225 .It Pa /etc/auth.conf
226 .It Ev $HOME Ns Pa /.rhosts
227 .It Ev $HOME Ns Pa /.klogin
235 IPv6 support was added by WIDE/KAME project.
239 utility will be replaced by
243 More of the environment should be propagated.