]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.bin/rlogin/rlogin.1
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / usr.bin / rlogin / rlogin.1
1 .\" Copyright (c) 1983, 1990, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
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.
19 .\"
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
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)rlogin.1    8.1 (Berkeley) 6/6/93
33 .\" $FreeBSD$
34 .\"
35 .Dd September 26, 2003
36 .Dt RLOGIN 1
37 .Os
38 .Sh NAME
39 .Nm rlogin
40 .Nd remote login
41 .Sh SYNOPSIS
42 .Ar rlogin
43 .Op Fl 468DEd
44 .Op Fl e Ar char
45 .Op Fl i Ar localname
46 .Op Fl l Ar username
47 .Ar host
48 .Sh DESCRIPTION
49 The
50 .Nm
51 utility starts a terminal session on a remote host
52 .Ar host .
53 .Pp
54 The standard Berkeley
55 .Pa rhosts
56 authorization mechanism is used.
57 .Pp
58 The following options are available:
59 .Bl -tag -width flag
60 .It Fl 4
61 Use IPv4 addresses only.
62 .It Fl 6
63 Use IPv6 addresses only.
64 .It Fl 8
65 Allow 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
68 ^S/^Q.
69 .It Fl D
70 Set the TCP_NODELAY socket option which can improve interactive response
71 at the expense of increased network load.
72 .It Fl E
73 Stop any character from being recognized as an escape character.
74 When used with the
75 .Fl 8
76 option, this provides a completely transparent connection.
77 .It Fl d
78 Turn on socket debugging (see
79 .Xr setsockopt 2 )
80 on the TCP sockets used for communication with the remote host.
81 .It Fl e
82 Allow user specification of the escape character, which is
83 .Dq ~
84 by default.
85 This specification may be as a literal character, or as an octal
86 value in the form \ennn.
87 .It Fl i
88 Allow the caller to specify a different local name to be used
89 for authentication.
90 This option is restricted to processes with uid 0.
91 .It Fl l
92 Specify a different
93 .Ar username
94 for the remote login.
95 If this option is not specified, your local username will be used.
96 .El
97 .Pp
98 A line of the form
99 .Dq Ao escape char Ac Ns \&.
100 disconnects from the remote host.
101 Similarly, the line
102 .Dq Ao escape char Ac Ns ^Z
103 will suspend the
104 .Nm
105 session, and
106 .Dq Ao escape\ char Ac Ns Ao delayed-suspend\ char Ac
107 suspends the
108 send portion of the
109 .Nm
110 session, but allows output from the remote system.
111 By default, the tilde
112 .Pq Dq ~
113 character is the escape character, and
114 normally control-Y
115 .Pq Dq ^Y
116 is the delayed-suspend character.
117 .Pp
118 All echoing takes place at the remote site, so that (except for delays)
119 the
120 .Nm
121 is transparent.
122 Flow control via ^S/^Q and flushing of input and output on interrupts
123 are handled properly.
124 .Sh ENVIRONMENT
125 The following environment variable is utilized by
126 .Nm :
127 .Bl -tag -width TERM
128 .It Ev TERM
129 Determines the user's terminal type.
130 .El
131 .Sh FILES
132 .Bl -tag -width /etc/hosts -compact
133 .It Pa /etc/hosts
134 .It Pa /etc/hosts.equiv
135 .It Pa /etc/auth.conf
136 .It Ev $HOME Ns Pa /.rhosts
137 .El
138 .Sh SEE ALSO
139 .Xr login 1 ,
140 .Xr rsh 1 ,
141 .Xr telnet 1 ,
142 .Xr setsockopt 2 ,
143 .Xr ruserok 3 ,
144 .Xr tty 4 ,
145 .Xr auth.conf 5 ,
146 .Xr hosts 5 ,
147 .Xr hosts.equiv 5 ,
148 .Xr rlogind 8 ,
149 .Xr rshd 8
150 .Sh HISTORY
151 The
152 .Nm
153 command appeared in
154 .Bx 4.2 .
155 .Pp
156 IPv6 support was added by WIDE/KAME project.
157 .Sh BUGS
158 The
159 .Nm
160 utility will be replaced by
161 .Xr telnet 1
162 in the near future.
163 .Pp
164 More of the environment should be propagated.