Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH IPSERV 8
2
.SH NAME
3
telnetd, rlogind, rexexec, ftpd \- Internet remote access daemons
4
.SH SYNOPSIS
5
.B ip/telnetd
6
.RB [ -adnptN ]
7
.RB [ -u
8
.IR user ]
9
.PP
10
.B ip/rlogind
11
.PP
12
.B ip/rexexec
13
.PP
14
.B ip/ftpd
15
.RB [ -aAde ]
16
.RB [ -n
17
.IR namepace-file ]
18
.PP
19
.SH DESCRIPTION
20
These programs support remote access across the Internet.  All expect the
21
network connection to be standard input, output, and error.  They are normally
22
started from scripts in
23
.B /rc/bin/service
24
(see
25
.IR listen (8)).
26
.PP
27
.I Telnetd
28
allows login from a remote client.
29
There are three types of login:
30
.TF anonymo
31
.TP
32
.I normal
33
Normal users log in by encrypting and returning a
34
challenge printed by
35
.IR telnetd .
36
The user can use either the
37
.IR netkey
38
program
39
(see
40
.IR passwd (1))
41
or a  SecureNet handheld authenticator to encrypt the challenge.
42
.B /lib/namespace
43
defines the namespace.
44
.TP
45
.I noworld
46
Users in group
47
.B noworld
48
in
49
.BR /adm/users
50
authenticate with a password in the clear.
51
.B /lib/namespace.noworld
52
defines the namespace.
53
.TP
54
.I anonymous
55
User
56
.B none
57
requires no authentication.
58
.B /lib/namespace
59
defines the namespace.
60
.PD
61
.PP
62
.IR Telnetd 's
63
options are:
64
.TP 4
65
.B a
66
allow anonymous login by
67
.B none
68
.TP
69
.B d
70
print debugging to standard error
71
.TP
72
.B p
73
don't originate any telnet control codes
74
.TP
75
.B n
76
turn on local character echoing and imply the
77
.B p
78
option
79
.TP
80
.B t
81
trusted, that is, don't authenticate
82
.TP
83
.B u
84
use
85
.I user
86
as the local account name
87
.TP
88
.B N
89
permit connections by `noworld' users only.
90
.PD
91
.PP
92
.I Rlogind
93
logs in using the BSD remote login protocol.
94
.I Rlogind
95
execs
96
.I telnetd
97
.B -nu
98
after completing its initial handshake.
99
.PP
100
.I Rexexec
101
executes a command locally for a remote client.  It uses the
102
standard Plan 9 authentication (see
103
.IR authsrv (6)).
104
.PP
105
.I Ftpd
106
runs the Internet file transfer protocol.  Users may transfer
107
files in either direction between the local and
108
remote machines.
109
As for
110
.IR telnetd ,
111
there are three types of login:
112
.TF anonymo
113
.TP
114
.I normal
115
Normal users authenticate
116
via the same challenge/response as for
117
.IR telnetd .
118
.BI /usr/ username /lib/namespace.ftp
119
or, if that file does not exist,
120
.B /lib/namespace
121
defines the namespace.
122
.TP
123
.I noworld
124
Users in group
125
.B noworld
126
in
127
.B /adm/users
128
login using a password in the clear.
129
.B /lib/namespace.noworld
130
defines the namespace.
131
.TP
132
.I anonymous
133
Users
134
.B anonymous
135
and
136
.B none
137
require no authentication.
138
The argument to the
139
.B \-n
140
option (default
141
.IR /lib/namespace.ftp )
142
defines the namespace.
143
Anonymous users may only store files in the subtree
144
below
145
.BR /incoming .
146
.PD
147
.PP
148
.IR Ftpd 's
149
options are:
150
.TP 4
151
.B a
152
allow anonymous access
153
.TP
154
.B A
155
allow
156
.I only
157
anonymous access
158
.TP
159
.B d
160
write debugging output to standard error
161
.TP
162
.B e
163
treat any user as anonymous
164
.TP
165
.B n
166
the namespace for anonymous users (default
167
.BR /lib/namespace.ftp )
168
.PP
169
To preserve intended protections in shared file trees,
170
any directory containing a file
171
.I .httplogin
172
is locked by
173
.IR ftpd;
174
see
175
.IR httpd (8).
176
.PP
177
.SH FILES
178
.B /lib/namepace
179
.br
180
.BI /usr/ username /lib/namespace.ftp
181
.br
182
.B /lib/namespace.world
183
.br
184
.B /lib/namespace.ftp
185
.SH SOURCE
186
.B /sys/src/cmd/ip/telnetd.c
187
.br
188
.B /sys/src/cmd/ip/rlogind.c
189
.br
190
.B /sys/src/cmd/ip/rexexec.c
191
.br
192
.B /sys/src/cmd/ip/ftpd.c
193
.SH "SEE ALSO"
194
.IR ftpfs (4),
195
.IR pop3 (8)