1 .\" $NetBSD: rlogin.1,v 1.3 1995/03/21 07:58:37 cgd Exp $
3 .\" Copyright (c) 1983, 1990, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed by the University of
17 .\" California, Berkeley and its contributors.
18 .\" 4. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" @(#)rlogin.1 8.1 (Berkeley) 6/6/93
48 .Op Fl p Ar portnumber
52 starts a terminal session on a remote host
56 first attempts to use the Kerberos authorization mechanism, described below.
57 If the remote host does not supporting Kerberos the standard Berkeley
59 authorization mechanism is used.
60 The options are as follows:
65 option allows an eight-bit input data path at all times; otherwise
66 parity bits are stripped except when the remote side's stop and start
67 characters are other than
72 option stops any character from being recognized as an escape character.
75 option, this provides a completely transparent connection.
79 option turns off all Kerberos authentication.
83 option allows the rlogin session to be run in ``litout'' (see
89 option turns on socket debugging (see
91 on the TCP sockets used for communication with the remote host.
95 option allows user specification of the escape character, which is
97 This specification may be as a literal character, or as an octal
98 value in the form \ennn.
102 option requests rlogin to obtain tickets for the remote host
105 instead of the remote host's realm as determined by
106 .Xr krb_realmofhost 3 .
112 encryption for all data passed via the
114 This may impact response time and
116 utilization, but provides
119 Use the TCP nodelay option (see setsockopt(2)).
121 Specifies the port number to connect to on the remote host.
124 A line of the form ``<escape char>.'' disconnects from the remote host.
125 Similarly, the line ``<escape char>^Z'' will suspend the
127 session, and ``<escape char><delayed-suspend char>'' suspends the
128 send portion of the rlogin, but allows output from the remote system.
129 By default, the tilde (``~'') character is the escape character, and
130 normally control-Y (``^Y'') is the delayed-suspend character.
132 All echoing takes place at the remote site, so that (except for delays)
136 Flow control via ^S/^Q and flushing of input and output on interrupts
137 are handled properly.
138 .Sh KERBEROS AUTHENTICATION
139 Each user may have a private authorization list in the file
141 in their home directory.
142 Each line in this file should contain a Kerberos principal name of the
144 .Ar principal.instance@realm .
145 If the originating user is authenticated to one of the principals named
148 access is granted to the account.
150 .Ar accountname.@localrealm
155 Otherwise a login and password will be prompted for on the remote machine
158 To avoid certain security problems, the
160 file must be owned by
163 If Kerberos authentication fails, a warning message is printed and the
168 The following environment variable is utilized by
172 Determines the user's terminal type.
178 .Xr krb_realmofhost 3
190 More of the environment should be propagated.