summaryrefslogtreecommitdiff
path: root/static/plan9-4e/man8/ipserv.8
blob: 313a125f40d802d2afe56254ffb246fb601f663d (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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
.TH IPSERV 8
.SH NAME
telnetd, rlogind, rexexec, ftpd, imap4d \- Internet remote access daemons
.SH SYNOPSIS
.PP
.B ip/telnetd
.RB [ -adnptN ]
.RB [ -u
.IR user ]
.PP
.B ip/rlogind
.PP
.B ip/rexexec
.PP
.B ip/ftpd
.RB [ -adp ]
.RB [ -n
.IR namepace-file ]
.PP
.B ip/imap4d
.RB [ -ap ]
.RB [ -d
.IR smtpdomain ]
.RB [ -s
.IR servername ]
.PP
.SH DESCRIPTION
These programs support remote access across the Internet.  All expect the
network connection to be standard input, output, and error.  They are normally
started from scripts in
.B /rc/bin/service
(see
.IR listen (8)).
.PP
.I Telnetd
allows login from a remote client.
There are three types of login:
.TF anonymous
.TP
.I normal
Normal users log in by encrypting and returning a
challenge printed by
.IR telnetd .
The user can use either the
.IR netkey
program
(see
.IR passwd (1))
or a  SecureNet handheld authenticator to encrypt the challenge.
.B /lib/namespace
defines the namespace.
.TP
.I noworld
Users in group
.B noworld
in
.BR /adm/users 
authenticate with a password in the clear.
.B /lib/namespace.noworld
defines the namespace.
.TP
.I anonymous
User
.B none
requires no authentication.
.B /lib/namespace 
defines the namespace.
.PD
.PP
The options are:
.TP
.B a
allow anonymous login by
.B none
.TP
.B d
print debugging to standard error
.TP
.B p
don't originate any telnet control codes
.TP
.B n
turn on local character echoing and imply the
.B p
option
.TP
.B t
trusted, that is, don't authenticate
.TP
.B u
use
.I user
as the local account name
.TP
.B N
permit connections by `noworld' users only.
.PD
.PP
.I Rlogind
logs in using the BSD remote login protocol.
.I Rlogind
execs
.I telnetd
.B -nu
after completing its initial handshake.
.PP
.I Rexexec
executes a command locally for a remote client.  It uses the
standard Plan 9 authentication (see
.IR authsrv (6)).
.PP
.I Ftpd
runs the Internet file transfer protocol.  Users may transfer
files in either direction between the local and
remote machines.
As for
.IR telnetd ,
there are three types of login:
.TF anonymous
.TP
.I normal
Normal users authenticate
via the same challenge/response as for
.IR telnetd .
.BI /usr/ username /lib/namespace.ftp
or, if that file does not exist,
.B /lib/namespace
defines the namespace.
.TP
.I noworld
Users in group
.B noworld
in
.B /adm/users
login using a password in the clear.
.B /lib/namespace.noworld
defines the namespace.
.TP
.I anonymous
Users
.B anonymous
and
.B none
require no authentication.
The argument to the
.B \-n
option (default
.IR /lib/namespace.ftp )
defines the namespace.
Anonymous users may only store files in the subtree
below
.BR /incoming .
.PD
.PP
The options are:
.TP
.B a
allow anonymous access
.TP
.B n
the namespace for anonymous users (default
.BR /lib/namespace.ftp )
.TP
.B d
write debugging output to standard error
.PP
.I Imap4d
provides access to a user's mailboxes via the IMAP4rev1 protocol.
Only files rooted in
.BI /mail/box/ username /
are accessible.
The list of subscribed mailboxes is contained in
.BI /mail/box/ username /imap.subscribed ,
and initially contains only
.BR INBOX ,
IMAP's name for the user's mailbox.
A shadow file,
.IB mailbox .imp ,
is created for each mailbox examined.
.PP
The options are:
.TP
.B a
Assume the user is already authenticated.
By default, the user must authenticate using
CRAM-MD5 or
.IR securenet (8)
challenge/response authentication.
.TP
.B p
Allow login authentication.  This option
should only be enabled for servers using
an encrypted connection, such as SSL,
and when enabled, all non-encrypted connections should be disallowed.
.I Imap4d
does not enforce this policy.
.TP
.B s
The server's name.
If none is provided,
.B cs
(see
.IR ndb (8))
is queried or
.B /env/sysname
is used.
.TP
.B d
The local mail domain.
Defaults to the server
.B /env/site
in the mail server's domain.
.SH FILES
.B /lib/namepace
.br
.BI /usr/ username /lib/namespace.ftp
.br
.B /lib/namespace.world
.br
.B /lib/namespace.ftp
.br
.BI /mail/box/ username / mailbox
.br
.BI /mail/box/ username / mailbox .imp
.br
.BI /mail/box/ username /imap.subscribed
.SH SOURCE
.B /sys/src/cmd/ip/telnetd.c
.br
.B /sys/src/cmd/ip/rlogind.c
.br
.B /sys/src/cmd/ip/rexexec.c
.br
.B /sys/src/cmd/ip/ftpd.c
.br
.B /sys/src/cmd/ip/imap4d/
.br
.SH "SEE ALSO"
.IR ftpfs (4)