OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / netkit / draft / man8 / ftpd.8
1 .\"
2 .\" Copyright (c) 1985, 1988, 1991, 1993
3 .\"     The Regents of the University of California.  All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. All advertising materials mentioning features or use of this software
14 .\"    must display the following acknowledgement:
15 .\"     This product includes software developed by the University of
16 .\"     California, Berkeley and its contributors.
17 .\" 4. Neither the name of the University nor the names of its contributors
18 .\"    may be used to endorse or promote products derived from this software
19 .\"    without specific prior written permission.
20 .\"
21 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .\" SUCH DAMAGE.
32 .\"
33 .\"     @(#)ftpd.8      8.2 (Berkeley) 4/19/94
34 .\"     NetBSD: ftpd.8,v 1.8 1996/01/14 20:55:23 thorpej Exp
35 .\"     OpenBSD: ftpd.8,v 1.9 1996/12/03 03:07:16 deraadt Exp
36 .\"     OpenBSD: ftpd.8,v 1.12 1997/05/01 14:45:36 deraadt Exp
37 .\"     OpenBSD: ftpd.8,v 1.22 1999/07/09 13:35:50 aaron Exp
38 .\"     $Id: ftpd.8,v 1.1.1.1 2000/10/19 08:22:16 ysato Exp $
39 .\"
40 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
41 .\"         all rights reserved.
42 .\" Translated Mon Dec 11 04:32:48 JST 2000
43 .\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
44 .\"
45 .\"WORD:        anonymous       ƿ̾
46 .\"WORD:        transfer        Å¾Á÷
47 .\"WORD:        Trademark       ¾¦É¸
48 .\"
49 .Dd September 14, 1999
50 .Dt FTPD 8
51 .Os "Linux NetKit (0.17)"
52 .\"O .Sh NAME
53 .Sh Ì¾Á°
54 .Nm ftpd
55 .Nd
56 .\"O Internet File Transfer Protocol server
57 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥È¥³¥ë¥µ¡¼¥Ð
58 .\"O .Sh SYNOPSIS
59 .Sh ½ñ¼°
60 .Nm ftpd
61 .Op Fl AdDhlMPSU
62 .Op Fl T Ar maxtimeout
63 .Op Fl t Ar timeout
64 .Op Fl u Ar mask
65 .\"O .Sh DESCRIPTION
66 .Sh ÀâÌÀ
67 .\"O .Nm Ftpd
68 .\"O is the
69 .\"O Internet File Transfer Protocol
70 .\"O server process.  The server uses the
71 .\"O .Tn TCP
72 .\"O protocol
73 .\"O and listens at the port specified in the
74 .\"O .Dq ftp
75 .\"O service specification; see
76 .Nm ftpd
77 ¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥È¥³¥ë¥µ¡¼¥Ð¥×¥í¥»¥¹¤Ç¤¢¤ë¡£
78 ¤³¤Î¥µ¡¼¥Ð¤Ï
79 .Tn TCP
80 ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ¡¢
81 .Dq ftp
82 ¥µ¡¼¥Ó¥¹¤Î»ÅÍͤǻØÄꤵ¤ì¤¿¥Ý¡¼¥È¤ò listen ¤¹¤ë¡£
83 .Xr services 5
84 ¤ò»²¾È¤¹¤ë¤³¤È¡£
85 .Pp
86 .\"O Available options:
87 »ÈÍѲÄǽ¤Ê¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë:
88 .Bl -tag -width Ds
89 .It Fl A
90 .\"O Permit only anonymous ftp connections or accounts listed in
91 .\"O .Pa /etc/ftpchroot.
92 .\"O Other connection attempts are refused.
93 ƿ̾ ftp Àܳ¡¢¤Þ¤¿¤Ï
94 .Pa /etc/ftpchroot
95 ¤Ë¥ê¥¹¥È¤µ¤ì¤¿¥¢¥«¥¦¥ó¥È¤Ë¤è¤ëÀܳ¤Î¤ß¤òµö²Ä¤¹¤ë¡£
96 ¾¤ÎÀܳ¤ÏµñÈݤµ¤ì¤ë¡£
97 .It Fl d
98 .\"O Debugging information is written to the syslog using LOG_FTP.
99 ¥Ç¥Ð¥Ã¥°¾ðÊ󤬠LOG_FTP ¤ò»È¤Ã¤Æ syslog ¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¡£
100 .It Fl D
101 .\"O With this option set,
102 .\"O .Nm ftpd
103 .\"O will detach and become a daemon, accepting connections on the FTP port and
104 .\"O forking child processes to handle them. This has lower overhead than
105 .\"O starting
106 .\"O .Nm ftpd
107 .\"O from
108 .\"O .Xr inetd 8
109 .\"O and is thus useful on busy servers to reduce load.
110 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
111 .Nm ftpd
112 ¤ÏÀ©¸æüËö¤òÀÚ¤êÎ¥¤·¤Æ¥Ç¡¼¥â¥ó¤È¤Ê¤ê¡¢FTP ¥Ý¡¼¥È¤Ø¤ÎÀܳ¤ò¼õ¤±ÉÕ¤±¡¢
113 Àܳ¤ò½èÍý¤¹¤ë¤¿¤á¤Ë»Ò¥×¥í¥»¥¹¤ò fork ¤¹¤ë¡£
114 ¤³¤ÎÊý¼°¤Ï
115 .Nm ftpd
116 ¤ò
117 .Xr inetd 8
118 ¤«¤éµ¯Æ°¤¹¤ë¤è¤ê¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬¾¯¤Ê¤¤¤¿¤á¡¢
119 ½èÍýÎ̤襤¥µ¡¼¥Ð¤ÇÉé²Ù¤òÄ㸺¤¹¤ë¤Î¤ËÌòΩ¤Ä¡£
120 .It Fl h
121 .\"O The server will use data ports in the high port range for passive connections.
122 .\"O This range is defined by the
123 .\"O .Ev IPPORT_HIFIRSTAUTO
124 .\"O and
125 .\"O .Ev IPPORT_HILASTAUTO
126 .\"O defines in <netinet/in.h>.  In
127 .\"O .Ox
128 .\"O they are set to 49152 and 65535 respectively.
129 ¥µ¡¼¥Ð¤¬¥Ñ¥Ã¥·¥ÖÀܳ¤Î¤¿¤á¤ËÂ礭¤¤ÈÖ¹æ¤ÎÈϰϤˤ¢¤ë¥Ç¡¼¥¿¥Ý¡¼¥È¤ò»È¤¦¡£
130 ¤³¤ÎÈϰϤϠ<netinet/in.h> ¤Ë¤¢¤ë
131 .Ev IPPORT_HIFIRSTAUTO
132 ¤È
133 .Ev IPPORT_HILASTAUTO
134 ¤ÇÄêµÁ¤µ¤ì¤ë¡£
135 .Ox
136 ¤Ç¤Ï¡¢¤³¤ÎÃͤϤ½¤ì¤¾¤ì 49152 ¤È 65535 ¤ËÀßÄꤵ¤ì¤ë¡£
137 .It Fl l
138 .\"O Each successful and failed
139 .\"O .Xr ftp 1
140 .\"O session is logged using syslog with a facility of LOG_FTP.
141 .\"O If this option is specified twice, the retrieve (get), store (put), append,
142 .\"O delete, make directory, remove directory and rename operations and
143 .\"O their filename arguments are also logged.
144 À®¸ù¤Þ¤¿¤Ï¼ºÇÔ¤·¤¿³Æ
145 .Xr ftp 1
146 ¥»¥Ã¥·¥ç¥ó¤ò syslog ¤Î LOG_FTP ¥Õ¥¡¥·¥ê¥Æ¥£ (facility) ¤òÍѤ¤¤Æ¥í¥°¤Ëµ­Ï¿¤¹¤ë¡£
147 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò 2 ¤Ä»ØÄꤹ¤ë¤È¡¢
148 retrieve (get), store (put), append,
149 delete, make directory, remove directory, rename ¤Î³ÆÁàºî¡¢ 
150 ¤ª¤è¤Ó¤½¤ì¤é¤Î°ú¤­¿ô¤È¤·¤Æ»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë̾¤Ë¤Ä¤¤¤Æ¤â¥í¥°¤Ëµ­Ï¿¤¹¤ë¡£
151 .It Fl M
152 .\"O Enables multihomed mode.  Instead of simply using
153 .\"O .Pa ~ftp
154 .\"O for anonymous transfers, a directory matching the fully qualified name of
155 .\"O the IP number the client connected to, and located inside
156 .\"O .Pa ~ftp
157 .\"O is used instead.
158 Ê£¿ô¥Û¡¼¥à¥â¡¼¥É¤òÍ­¸ú¤Ë¤¹¤ë¡£
159 ƿ̾¥Õ¥¡¥¤¥ëžÁ÷¤Î¤¿¤á¤Ëñ¤Ë
160 .Pa ~ftp
161 ¤ò»È¤¦¤Î¤Ç¤Ï¤Ê¤¯¡¢Àܳ¤µ¤ì¤¿¥¯¥é¥¤¥¢¥ó¥È¤Î IP ¥¢¥É¥ì¥¹¤«¤é
162 ´°Á´¤Ê¥É¥á¥¤¥ó̾ÉÕ¤­¤Î¥Û¥¹¥È̾¤Ë¥Þ¥Ã¥Á¤¹¤ë
163 .Pa ~ftp
164 ÆâÉô¤Ë¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»È¤¦¡£
165 .It Fl p
166 .\"O Disable passive mode ftp connections.  This is useful if you are behind
167 .\"O a firewall that refuses connections to arbitrary high numbered ports.
168 .\"O Many ftp clients try passive mode first and do not always react gracefully
169 .\"O to a server that refuses connections to the port it asked the client to
170 .\"O connect to.
171 ¥Ñ¥Ã¥·¥Ö¥â¡¼¥É ftp Àܳ¤ò̵¸ú¤Ë¤¹¤ë¡£
172 Â礭¤ÊÈÖ¹æ¤Î¥Ý¡¼¥È¤Ç¤ÎÀܳ¤òµñÈݤ¹¤ë
173 ¥Õ¥¡¥¤¥¢¡¼¥¦¥©¡¼¥ë¤Î¸å¤í¤Ë¤¤¤ë¾ì¹ç¤ËÌòΩ¤Ä¡£
174 ¿¤¯¤Î ftp ¥¯¥é¥¤¥¢¥ó¥È¤Ï»Ï¤á¤Ë¥Ñ¥Ã¥·¥Ö¥â¡¼¥É¤ò»î¤ß¡¢
175 ¥¯¥é¥¤¥¢¥ó¥È¤¬Àܳ¤¹¤ë¤Î¤Ë»ØÄꤷ¤¿¥Ý¡¼¥È¤Ø¤ÎÀܳ¤òµñÈݤ¹¤ë
176 ¥µ¡¼¥Ð¤ËÂФ·¤Æ¾ï¤Ë¤¦¤Þ¤¯Âбþ¤¹¤ëÌõ¤Ç¤Ï¤Ê¤¤¡£
177 .It Fl P
178 .\"O Permit illegal port numbers or addresses for PORT command initiated connects.
179 .\"O By default
180 .\"O .Xr ftpd 8
181 .\"O violates the RFC and thus constrains the PORT command to non-reserved ports
182 .\"O and requires it use the same source address as the connection came from.
183 .\"O This prevents the "FTP bounce attack" against services on both the local
184 .\"O machine and other local machines.
185 Àµ¼°¤Ê¥Ý¡¼¥ÈÈÖ¹æ¤äÀܳ¤ò½é´ü²½¤¹¤ë PORT ¥³¥Þ¥ó¥É¤Î
186 Àµ¼°¤Ê¥¢¥É¥ì¥¹¤Î»ÈÍѤòµö²Ä¤¹¤ë¡£
187 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢
188 .Xr ftpd 8
189 ¤Ï RFC ¤ò¼é¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢
190 PORT ¥³¥Þ¥ó¥É¤òͽÌ󤵤ì¤Æ¤¤¤Ê¤¤¥Ý¡¼¥ÈÈÖ¹æ¤Ç¹Ô¤ï¤»¤¿¤ê¡¢
191 Àܳ¸µ¤Î¥¢¥É¥ì¥¹¤¬Æ±¤¸¥¢¥É¥ì¥¹¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¡£
192 ¤³¤ì¤Ë¤è¤ê¡¢¥í¡¼¥«¥ë¥Þ¥·¥ó¤È¾¤Î¥í¡¼¥«¥ë¥Þ¥·¥ó¤ËÂФ·¤Æ
193 "FTP ¥Ð¥¦¥ó¥¹¹¶·â" ¤òËɻߤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
194 .It Fl S
195 .\"O With this option set,
196 .\"O .Nm ftpd
197 .\"O logs all anonymous transfers to the file
198 .\"O .Pa /var/log/ftpd
199 .\"O when this file exists.
200 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
201 .Nm ftpd
202 ¤Ï¡¢¥Õ¥¡¥¤¥ë
203 .Pa /var/log/ftpd
204 ¤¬¤¢¤ë¾ì¹ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ËÁ´¤Æ¤Îƿ̾¥Õ¥¡¥¤¥ëžÁ÷¤Ë¤Ä¤¤¤Æ¥í¥°¤òµ­Ï¿¤¹¤ë¡£
205 .It Fl U
206 .\"O Each concurrent
207 .\"O .Xr ftp 1
208 .\"O session is logged to the file
209 .\"O .Pa /var/run/utmp ,
210 .\"O making them visible to commands such as
211 .\"O .Xr who 1 .
212 .\"O This option at present is unsupporte and will always silently fail.
213 Ʊ»þ¤Ëµ¯¤³¤ë³Æ
214 .Xr ftp 1
215 ¥»¥Ã¥·¥ç¥ó¤Ï¡¢¥Õ¥¡¥¤¥ë
216 .Pa /var/run/utmp
217 ¤Ë¥í¥°¤¬µ­Ï¿¤µ¤ì¡¢
218 .Xr who 1
219 ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤Ë¸«¤¨¤ë¤è¤¦¤Ë¤µ¤ì¤ë¡£
220 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¸½ºß¤Î¤È¤³¤í¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤ª¤é¤º¡¢
221 ¾ï¤Ë²¿¤âɽ¼¨¤»¤º¤Ë¼ºÇÔ¤¹¤ë¡£
222 .It Fl T
223 .\"O A client may also request a different timeout period;
224 .\"O the maximum period allowed may be set to
225 .\"O .Ar timeout
226 .\"O seconds with the
227 .\"O .Fl T
228 .\"O option.
229 .\"O The default limit is 2 hours.
230 ¥¯¥é¥¤¥¢¥ó¥È¤¬Â¾¤Î¥¿¥¤¥à¥¢¥¦¥È»þ´Ö¤ò¥ê¥¯¥¨¥¹¥È¤Ç¤­¤ë¡£
231 ¥¿¥¤¥à¥¢¥¦¥È¤ÎºÇĹ»þ´Ö¤Ï¡¢
232 .Fl T
233 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ
234 .Ar timeout
235 ÉäËÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
236 ¥Ç¥Õ¥©¥ë¥È¤Î¥¿¥¤¥à¥¢¥¦¥È»þ´Ö¤Ï 2 »þ´Ö¤Ç¤¢¤ë¡£
237 .It Fl t
238 .\"O The inactivity timeout period is set to
239 .\"O .Ar timeout
240 .\"O seconds (the default is 15 minutes).
241 ̵³èÆ°¥¿¥¤¥à¥¢¥¦¥È»þ´Ö¤ò
242 .Ar timeout
243 ÉäËÀßÄꤹ¤ë
244 (¥Ç¥Õ¥©¥ë¥È¤Ï 15 Ê¬¤Ç¤¢¤ë)¡£
245 .It Fl u
246 .\"O Change the default umask from 027 to
247 .\"O .Ar mask .
248 ¥Ç¥Õ¥©¥ë¥È¤Î umask ¤ò 027 ¤«¤é
249 .Ar mask
250 ¤ËÊѹ¹¤¹¤ë¡£
251 .El
252 .Pp
253 .\"O The file
254 .\"O .Pa /etc/nologin
255 .\"O can be used to disable ftp access.
256 .\"O If the file exists,
257 .\"O .Nm
258 .\"O displays it and exits.
259 .\"O If the file
260 .\"O .Pa /etc/ftpwelcome
261 .\"O exists,
262 .\"O .Nm
263 .\"O prints it before issuing the
264 .\"O .Dq ready
265 .\"O message.
266 ¥Õ¥¡¥¤¥ë
267 .Pa /etc/nologin
268 ¤Ï ftp ¥¢¥¯¥»¥¹¤òÉԲĤˤ¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
269 ¤³¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤È¡¢
270 .Nm
271 ¤Ï¤½¤Î¥Õ¥¡¥¤¥ëÆâÍƤòɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
272 ¥Õ¥¡¥¤¥ë
273 .Pa /etc/ftpwelcome
274 ¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢
275 .Nm
276 ¤Ï
277 .Dq ready
278 ¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ëÁ°¤Ë¡¢
279 ¤½¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤòɽ¼¨¤¹¤ë¡£
280 .\"O If the file
281 .\"O .Pa /etc/motd
282 .\"O exists,
283 .\"O .Nm
284 .\"O prints it after a successful login.  If the file
285 .\"O .Pa .message
286 .\"O exists in a directory,
287 .\"O .Nm
288 .\"O prints it when that directory is entered.
289 .Pa /etc/motd
290 ¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢
291 .Nm
292 ¤Ï¥í¥°¥¤¥ó¤¬À®¸ù¤·¤¿¸å¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤòɽ¼¨¤¹¤ë¡£
293 ¥Ç¥£¥ì¥¯¥È¥ê¤Ë
294 .Pa .message
295 ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢
296 .Nm
297 ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÆþ¤Ã¤¿¤È¤­¤Ë¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÆâÍƤòɽ¼¨¤¹¤ë¡£
298 .Pp
299 .\"O The ftp server currently supports the following ftp requests.
300 .\"O The case of the requests is ignored.
301 ftp ¥µ¡¼¥Ð¤Ï¸½ºß¤Î¤È¤³¤í°Ê²¼¤Î ftp ¥ê¥¯¥¨¥¹¥È¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
302 ¥ê¥¯¥¨¥¹¥È¤Îʸ»ú¤ÎÂçʸ»ú¾®Ê¸»ú¤Ï̵»ë¤µ¤ì¤ë¡£
303 .\"O .Bl -column "Request" -offset indent
304 .\"O .It Request Ta "Description"
305 .Bl -column "¥ê¥¯¥¨¥¹¥È" -offset indent
306 .It ¥ê¥¯¥¨¥¹¥È Ta "ÀâÌÀ"
307 .\"O .It ABOR Ta "abort previous command"
308 .\"O .It ACCT Ta "specify account (ignored)"
309 .\"O .It ALLO Ta "allocate storage (vacuously)"
310 .\"O .It APPE Ta "append to a file"
311 .\"O .It CDUP Ta "change to parent of current working directory"
312 .It ABOR Ta "ľÁ°¤Î¥³¥Þ¥ó¥É¤òÃæÃÇ (abort) ¤¹¤ë"
313 .It ACCT Ta "¥¢¥«¥¦¥ó¥È¤ò»ØÄꤹ¤ë (̵»ë¤µ¤ì¤ë)"
314 .It ALLO Ta "(¶õ¤Î) ¥¹¥È¥ì¡¼¥¸¤ò³ÎÊݤ¹¤ë"
315 .It APPE Ta "¥Õ¥¡¥¤¥ë¤òÄɲ乤ë"
316 .It CDUP Ta "¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î¿Æ¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë"
317 .\"O .It CWD Ta "change working directory"
318 .\"O .It DELE Ta "delete a file"
319 .\"O .It HELP Ta "give help information"
320 .\"O .It LIST Ta "give list files in a directory" Pq Dq Li "ls -lgA"
321 .\"O .It MKD Ta "make a directory"
322 .It CWD Ta "¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë"
323 .It DELE Ta "¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë"
324 .It HELP Ta "¥Ø¥ë¥×¾ðÊó¤òɽ¼¨¤¹¤ë"
325 .It LIST Ta "¥Ç¥£¥ì¥¯¥È¥êÃæ¤Î¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤òɽ¼¨¤¹¤ë" Pq Dq Li "ls -lgA"
326 .It MKD Ta "¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë"
327 .\"O .It MDTM Ta "show last modification time of file"
328 .\"O .It MODE Ta "specify data transfer" Em mode
329 .\"O .It NLST Ta "give name list of files in directory"
330 .\"O .It NOOP Ta "do nothing"
331 .\"O .It PASS Ta "specify password"
332 .It MDTM Ta "¥Õ¥¡¥¤¥ë¤ÎºÇ½ª½¤Àµ»þ¹ï¤òɽ¼¨¤¹¤ë"
333 .It MODE Ta "¥Ç¡¼¥¿Å¾Á÷¥â¡¼¥É¤ò" Em mode "¤Ë»ØÄꤹ¤ë"
334 .It NLST Ta "¥Ç¥£¥ì¥¯¥È¥êÃæ¤Î¥Õ¥¡¥¤¥ë̾¥ê¥¹¥È¤òɽ¼¨¤¹¤ë"
335 .It NOOP Ta "²¿¤â¤·¤Ê¤¤"
336 .It PASS Ta "¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤹ¤ë"
337 .\"O .It PASV Ta "prepare for server-to-server transfer"
338 .\"O .It PORT Ta "specify data connection port"
339 .\"O .It PWD Ta "print the current working directory"
340 .\"O .It QUIT Ta "terminate session"
341 .\"O .It REST Ta "restart incomplete transfer"
342 .It PASV Ta "¥µ¡¼¥Ð¤«¤é¥µ¡¼¥Ð¤Ø¤ÎžÁ÷¤Î½àÈ÷¤ò¤¹¤ë"
343 .It PORT Ta "¥Ç¡¼¥¿Àܳ¥Ý¡¼¥È¤ò»ØÄꤹ¤ë"
344 .It PWD Ta "¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤òɽ¼¨¤¹¤ë"
345 .It QUIT Ta "¥»¥Ã¥·¥ç¥ó¤ò½ªÎ»¤¹¤ë"
346 .It REST Ta "ÉÔ´°Á´¤À¤Ã¤¿Å¾Á÷¤òºÆ³«¤¹¤ë"
347 .\"O .It RETR Ta "retrieve a file"
348 .\"O .It RMD Ta "remove a directory"
349 .\"O .It RNFR Ta "specify rename-from file name"
350 .\"O .It RNTO Ta "specify rename-to file name"
351 .\"O .It SITE Ta "non-standard commands (see next section)"
352 .It RETR Ta "¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë"
353 .It RMD Ta "¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤¹¤ë"
354 .It RNFR Ta "̾Á°Êѹ¹Á°¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤹ¤ë"
355 .It RNTO Ta "̾Á°Êѹ¹¸å¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤹ¤ë"
356 .It SITE Ta "ɸ½à¤Ç¤Ê¤¤¥³¥Þ¥ó¥É (¼¡¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È)"
357 .\"O .It SIZE Ta "return size of file"
358 .\"O .It STAT Ta "return status of server"
359 .\"O .It STOR Ta "store a file"
360 .\"O .It STOU Ta "store a file with a unique name"
361 .\"O .It STRU Ta "specify data transfer" Em structure
362 .It SIZE Ta "¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤òÊÖ¤¹"
363 .It STAT Ta "¥µ¡¼¥Ð¤Î¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤¹"
364 .It STOR Ta "¥Õ¥¡¥¤¥ë¤ò³ÊǼ¤¹¤ë"
365 .It STOU Ta "¥Õ¥¡¥¤¥ë¤ò¾¤Î¤â¤Î¤È½ÅÊ£¤Î¤Ê¤¤Ì¾Á°¤Ç³ÊǼ¤¹¤ë"
366 .It STRU Ta "¥Ç¡¼¥¿Å¾Á÷¹½Â¤¤ò" Em structure "¤Ë»ØÄꤹ¤ë"
367 .\"O .It SYST Ta "show operating system type of server system"
368 .\"O .It TYPE Ta "specify data transfer" Em type
369 .\"O .It USER Ta "specify user name"
370 .\"O .It XCUP Ta "change to parent of current working directory (deprecated)"
371 .\"O .It XCWD Ta "change working directory (deprecated)"
372 .It SYST Ta "¥µ¡¼¥Ð¥·¥¹¥Æ¥à¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î¥¿¥¤¥×¤òɽ¼¨¤¹¤ë"
373 .It TYPE Ta "¥Ç¡¼¥¿Å¾Á÷¥¿¥¤¥×¤ò" Em type "¤Ë»ØÄꤹ¤ë"
374 .It USER Ta "¥æ¡¼¥¶¡¼Ì¾¤ò»ØÄꤹ¤ë"
375 .It XCUP Ta "¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î¿Æ¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë (È¿ÂФµ¤ì¤ë)"
376 .It XCWD Ta "¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë (È¿ÂФµ¤ì¤ë)"
377 .\"O .It XMKD Ta "make a directory (deprecated)"
378 .\"O .It XPWD Ta "print the current working directory (deprecated)"
379 .\"O .It XRMD Ta "remove a directory (deprecated)"
380 .It XMKD Ta "¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë (È¿ÂФµ¤ì¤ë)"
381 .It XPWD Ta "¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤òɽ¼¨¤¹¤ë (È¿ÂФµ¤ì¤ë)"
382 .It XRMD Ta "¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤¹¤ë (È¿ÂФµ¤ì¤ë)"
383 .El
384 .Pp
385 .\"O The following non-standard or
386 .\"O .Tn UNIX
387 .\"O specific commands are supported
388 .\"O by the
389 .\"O SITE request.
390 °Ê²¼¤Îɸ½à¤Ç¤Ê¤¤¥³¥Þ¥ó¥É¤ä
391 .Tn UNIX
392 ÆÃÍ­¤Î¥³¥Þ¥ó¥É¤Ï¡¢
393 SITE ¥ê¥¯¥¨¥¹¥È¤ò»È¤¦¤³¤È¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤ë¡£
394 .Pp
395 .\"O .Bl -column Request -offset indent
396 .\"O .It Sy Request Ta Sy Description
397 .\"O .It UMASK Ta change umask, e.g. ``SITE UMASK 002''
398 .\"O .It IDLE Ta set idle-timer, e.g. ``SITE IDLE 60''
399 .\"O .It CHMOD Ta change mode of a file, e.g. ``SITE CHMOD 755 filename''
400 .\"O .It HELP Ta give help information.
401 .Bl -column ¥ê¥¯¥¨¥¹¥È -offset indent
402 .It Sy ¥ê¥¯¥¨¥¹¥È Ta Sy ÀâÌÀ
403 .It UMASK Ta umask ¤òÊѹ¹¤¹¤ë¡£Îã ``SITE UMASK 002''
404 .It IDLE Ta ¥¢¥¤¥É¥ë¥¿¥¤¥Þ¤òÀßÄꤹ¤ë¡£Îã ``SITE IDLE 60''
405 .It CHMOD Ta ¥Õ¥¡¥¤¥ë¤Î¥â¡¼¥É¤ò»ØÄꤹ¤ë¡£Îã ``SITE CHMOD 755 filename''
406 .It HELP Ta ¥Ø¥ë¥×¾ðÊó¤òɽ¼¨¤¹¤ë¡£
407 .El
408 .Pp
409 .\"O The remaining ftp requests specified in Internet RFC 959
410 .\"O are
411 .\"O recognized, but not implemented.
412 .\"O MDTM and SIZE are not specified in RFC 959, but will appear in the
413 .\"O next updated FTP RFC.
414 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È RFC 959 ¤Çµ¬Äꤵ¤ì¤Æ¤¤¤ë
415 ¾¤Î ftp ¥ê¥¯¥¨¥¹¥È¤âǧ¼±¤µ¤ì¤ë¤¬¡¢
416 º£¤Î¤È¤³¤í¼ÂÁõ¤µ¤ì¤Æ¤Ï¤¤¤Ê¤¤¡£
417 MDTM ¤È SIZE ¤Ï RFC 959 ¤Çµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¤¬¡¢
418 ¼¡¤Ë²þÄû¤µ¤ì¤ë FTP RFC ¤Ë¤ÏÅо줹¤ë¤À¤í¤¦¡£
419 .Pp
420 .\"O The ftp server will abort an active file transfer only when the
421 .\"O ABOR
422 .\"O command is preceded by a Telnet "Interrupt Process" (IP)
423 .\"O signal and a Telnet "Synch" signal in the command Telnet stream,
424 .\"O as described in Internet RFC 959.
425 .\"O If a
426 .\"O STAT
427 .\"O command is received during a data transfer, preceded by a Telnet IP
428 .\"O and Synch, transfer status will be returned.
429 ftp ¥µ¡¼¥Ð¤¬¥¢¥¯¥Æ¥£¥Ö¤Ê¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥»¥¹¤òÃæÃÇ (abort) ¤¹¤ë¤Î¤Ï¡¢
430 ABOR ¥³¥Þ¥ó¥É¤ÎÁ°¤Ë¡¢
431 Telnet "Interrupt Process" (IP) ¥·¥°¥Ê¥ë¤ä
432 Telnet "Synch" ¥·¥°¥Ê¥ë¤¬
433 Telnet  ¥¹¥È¥ê¡¼¥àÆâ¤Ë¤¢¤ë¾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
434 ¤³¤ì¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È RFC 959 ¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¡£
435 ¥Ç¡¼¥¿Å¾Á÷Ãæ¤Ë STAT ¥³¥Þ¥ó¥É¤ò¼õ¤±¼è¤ê¡¢
436 ¤½¤ÎÁ°¤Ë Telnet IP ¤ä Synch ¤¬¤¢¤Ã¤¿¾ì¹ç¡¢
437 žÁ÷¥¹¥Æ¡¼¥¿¥¹¤¬ÊÖ¤µ¤ì¤ë¡£
438 .Pp
439 .\"O .Nm Ftpd
440 .\"O interprets file names according to the
441 .\"O .Dq globbing
442 .\"O conventions used by
443 .\"O .Xr csh 1 .
444 .\"O This allows users to utilize the metacharacters
445 .\"O .Dq Li \&*?[]{}~ .
446 .Nm ftpd
447 ¤Ï¡¢
448 .Xr csh 1
449 ¤Ç»È¤ï¤ì¤Æ¤¤¤ë
450 .Dq ¥Õ¥¡¥¤¥ë̾Ÿ³«
451 ¤Ë¤è¤ëÊÑ´¹¤Ë´ð¤Å¤¤¤Æ¡¢¥Õ¥¡¥¤¥ë̾¤ò²ò¼á¤¹¤ë¡£
452 ¤³¤ì¤Ë¤è¤ê¡¢¥æ¡¼¥¶¡¼¤Ï¥á¥¿¥­¥ã¥é¥¯¥¿
453 .Dq Li \&*?[]{}~
454 ¤òÍøÍѤǤ­¤ë¡£
455 .Pp
456 .\"O .Nm Ftpd
457 .\"O authenticates users according to five rules.
458 .Nm ftpd
459 ¤Ï 5 ¤Ä¤Î¥ë¡¼¥ë¤Ë½¾¤Ã¤Æ¥æ¡¼¥¶¡¼¤Îǧ¾Ú¤ò¤¹¤ë¡£
460 .Pp
461 .Bl -enum -offset indent
462 .It
463 .\"O The login name must be in the password data base,
464 .\"O .\" .Pa /etc/pwd.db ,
465 .\"O .Pa /etc/passwd ,
466 .\"O and not have a null password.
467 .\"O In this case a password must be provided by the client before any
468 .\"O file operations may be performed.
469 ¥í¥°¥¤¥ó̾¤Ï¥Ñ¥¹¥ï¡¼¥É¥Ç¡¼¥¿¥Ù¡¼¥¹
470 .\" .Pa /etc/pwd.db ,
471 .Pa /etc/passwd
472 ¤Ë¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢
473 ¶õ¤Î¥Ñ¥¹¥ï¡¼¥É¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
474 ¤³¤Î¾ì¹ç¡¢¤¢¤é¤æ¤ë¥Õ¥¡¥¤¥ëžÁ÷¤ËÀè¤À¤Ã¤Æ¡¢
475 ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¥Ñ¥¹¥ï¡¼¥É¤¬Ä󶡤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
476 .\"O If the user has an S/Key key, the response from a successful USER
477 .\"O command will include an S/Key challenge. The client may choose to respond
478 .\"O with a PASS command giving either a standard password or an S/Key
479 .\"O one-time password. The server will automatically determine which type of
480 .\"O password it has been given and attempt to authenticate accordingly. See
481 .\"O .Xr skey 1
482 .\"O for more information on S/Key authentication. S/Key is a Trademark of
483 .\"O Bellcore.
484 ¥æ¡¼¥¶¡¼¤¬ S/Key ¤Î¥­¡¼¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
485 USER ¥³¥Þ¥ó¥É¤¬À®¸ù¤·¤¿ºÝ¤Î±þÅú¤¬ S/Key ¥Á¥ã¥ì¥ó¥¸¤Ë´Þ¤á¤ÆÁ÷¤é¤ì¤ë¡£
486 ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢¤½¤ì¤ËÂФ·¤Æ PASS ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ±þÅú¤¹¤ëºÝ¤Ë¡¢
487 Ä̾ï¤Î¥Ñ¥¹¥ï¡¼¥É¤È S/Key ¤Î¥ï¥ó¥¿¥¤¥à¥Ñ¥¹¥ï¡¼¥É¤Î
488 ¤É¤Á¤é¤ò¤Ä¤±¤Æ±þÅú¤¹¤ë¤«¤òÁªÂò¤Ç¤­¤ë¡£
489 ¥µ¡¼¥Ð¤Ï¤É¤Á¤é¤Î¥¿¥¤¥×¤Î¥Ñ¥¹¥ï¡¼¥É¤ò¼õ¤±¼è¤Ã¤¿¤«¤ò¼«Æ°Åª¤ËȽÄꤷ¡¢
490 ¤½¤ì¤Ë±þ¤¸¤Æǧ¾Ú¤ò»î¤ß¤ë¡£
491 S/Key Ç§¾Ú¤Ë¤Ä¤¤¤Æ¤Î¾ÜºÙ¤Ï
492 .Xr skey 1
493 ¤ò»²¾È¤¹¤ë¤³¤È¡£
494 S/Key ¤Ï Bellcore ¼Ò¤Î¾¦É¸¤Ç¤¢¤ë¡£
495 .It
496 .\"O The login name must not appear in the file
497 .\"O .Pa /etc/ftpusers .
498 ¥í¥°¥¤¥ó̾¤Ï¥Õ¥¡¥¤¥ë
499 .Pa /etc/ftpusers
500 ¤Ë¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
501 .It
502 .\"O The user must have a standard shell returned by
503 .\"O .Xr getusershell 3 .
504 ¥æ¡¼¥¶¡¼¤Ï
505 .Xr getusershell 3
506 ¤¬ÊÖ¤¹É¸½à¤Î¥·¥§¥ë¤ò»ý¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
507 .It
508 .\"O If the user name appears in the file
509 .\"O .Pa /etc/ftpchroot
510 .\"O the session's root will be changed to the user's login directory by
511 .\"O .Xr chroot 2
512 .\"O as for an
513 .\"O .Dq anonymous
514 .\"O or
515 .\"O .Dq ftp
516 .\"O account (see next item).  However, the user must still supply a password.
517 .\"O This feature is intended as a compromise between a fully anonymous account
518 .\"O and a fully privileged account.  The account should also be set up as for an
519 .\"O anonymous account.
520 ¥æ¡¼¥¶¡¼Ì¾¤¬¥Õ¥¡¥¤¥ë
521 .Pa /etc/ftpchroot
522 ¤Ë¤¢¤ë¾ì¹ç¡¢
523 .Dq anonymous
524 ¥¢¥«¥¦¥ó¥È¤ä
525 .Dq ftp
526 ¥¢¥«¥¦¥ó¥È¤Î¾ì¹ç (¼¡¤Î¹àÌܤò»²¾È) ¤ÈƱÍͤˡ¢
527 ¥»¥Ã¥·¥ç¥ó¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ï
528 .Xr chroot 2
529 ¤Ë¤è¤Ã¤Æ¥æ¡¼¥¶¡¼¤Î¥í¥°¥¤¥ó¥Ç¥£¥ì¥¯¥È¥ê¤ËÊѹ¹¤µ¤ì¤ë¡£
530 ¤·¤«¤·¡¢¤³¤Î¾ì¹ç¤Ç¤â¥æ¡¼¥¶¡¼¤Ï¥Ñ¥¹¥ï¡¼¥É¤òÍ¿¤¨¤ëɬÍפ¬¤¢¤ë¡£
531 ¤³¤ÎÆÃħ¤Ï¡¢´°Á´¤Ëƿ̾¤Ê¥¢¥«¥¦¥ó¥È¤È´°Á´¤ÊÆø¢¤Î¤¢¤ë¥¢¥«¥¦¥ó¥È¤Î
532 ÂŶ¨Åª¤ÊÍøÍѤò°Õ¿Þ¤·¤Æ¤¤¤ë¡£
533 ¤³¤Î¥¢¥«¥¦¥ó¥È¤Ïƿ̾¥¢¥«¥¦¥ó¥È¤È¤·¤ÆÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
534 .It
535 .\"O If the user name is
536 .\"O .Dq anonymous
537 .\"O or
538 .\"O .Dq ftp ,
539 .\"O an
540 .\"O anonymous ftp account must be present in the password
541 .\"O file (user
542 .\"O .Dq ftp ) .
543 .\"O In this case the user is allowed
544 .\"O to log in by specifying any password (by convention an email address for
545 .\"O the user should be used as the password).
546 ¥æ¡¼¥¶¡¼Ì¾¤¬
547 .Dq anonymous
548 ¤Þ¤¿¤Ï
549 .Dq ftp
550 ¤Ç¤¢¤ë¾ì¹ç¡¢
551 ƿ̾ ftp ¥¢¥«¥¦¥ó¥È¤¬¥Ñ¥¹¥ï¡¼¥É¥Õ¥¡¥¤¥ë¤Ç (¥æ¡¼¥¶¡¼
552 .Dq ftp
553 ¤È¤·¤Æ) Ä󶡤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
554 ¤³¤Î¾ì¹ç¡¢¥æ¡¼¥¶¡¼¤Ï¤É¤Î¤è¤¦¤Ê¥Ñ¥¹¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤â¥í¥°¥¤¥ó¤¬µö²Ä¤µ¤ì¤ë
555 (´·Îã¤È¤·¤Æ¡¢¥æ¡¼¥¶¡¼¤Î email ¥¢¥É¥ì¥¹¤¬¥Ñ¥¹¥ï¡¼¥É¤È¤·¤Æ»È¤ï¤ì¤ë)¡£
556 .El
557 .Pp
558 .\"O In the last case,
559 .\"O .Nm ftpd
560 .\"O takes special measures to restrict the client's access privileges.
561 .\"O The server performs a
562 .\"O .Xr chroot 2
563 .\"O to the home directory of the
564 .\"O .Dq ftp
565 .\"O user.
566 .\"O In order that system security is not breached, it is recommended
567 .\"O that the
568 .\"O .Dq ftp
569 .\"O subtree be constructed with care, following these rules:
570 ºÇ¸å¤Î¥±¡¼¥¹¤Ç¤Ï¡¢
571 .Nm ftpd
572 ¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¥¢¥¯¥»¥¹¸¢¤òÀ©¸Â¤¹¤ë¤¿¤á¤Ë¡¢ÆÃÊ̤Êɾ²Á¤ò¹Ô¤¦¡£
573 ¥µ¡¼¥Ð¤Ï
574 .Dq ftp
575 ¥æ¡¼¥¶¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ËÂФ·¤Æ
576 .Xr chroot 2
577 ¤ò¼Â¹Ô¤¹¤ë¡£
578 ¥·¥¹¥Æ¥à¤Î¥»¥­¥å¥ê¥Æ¥£¤¬¿¯³²¤µ¤ì¤Ê¤¤¤¿¤á¤Ë¤Ï¡¢
579 .Dq ftp
580 ¥µ¥Ö¥Ä¥ê¡¼¤ò°Ê²¼¤Îµ¬Â§¤Ë½¾¤Ã¤Æ¿µ½Å¤Ë¹½ÃÛ¤¹¤ë¤³¤È¤ò¿ä¾©¤¹¤ë:
581 .Bl -tag -width "~ftp/pub" -offset indent
582 .It Pa ~ftp
583 .\"O Make the home directory owned by
584 .\"O .Dq root
585 .\"O and unwritable by anyone (mode 555).
586 ¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ò
587 .Dq root
588 ¤Î½êÍ­¤È¤·¡¢Ã¯¤â½ñ¤­¹þ¤ß¤Ç¤­¤Ê¤¤¤è¤¦¤Ë (¥â¡¼¥É¤ò 555 ¤Ë) ¤¹¤ë¤³¤È¡£
589 .It Pa ~ftp/bin
590 .\"O Make this directory owned by
591 .\"O .Dq root
592 .\"O and unwritable by anyone (mode 511).
593 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò
594 .Dq root
595 ¤Î½êÍ­¤È¤·¡¢Ã¯¤â½ñ¤­¹þ¤ß¤Ç¤­¤Ê¤¤¤è¤¦¤Ë (¥â¡¼¥É¤ò 511 ¤Ë) ¤¹¤ë¤³¤È¡£
596 .\"O .\"This directory is optional unless you have commands you wish
597 .\"O .\"the anonymous ftp user to be able to run (the
598 .\"O .\".Xr ls 1
599 .\"O .\"command exists as a builtin).
600 .\"O .\"  -- not in the Linux port (yet?)
601 .\"ƿ̾ ftp ¥æ¡¼¥¶¡¼¤Ë¼Â¹Ô¤µ¤»¤¿¤¤¥³¥Þ¥ó¥É¤¬¤Ê¤¤¸Â¤ê¡¢
602 .\"¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¤Ê¤¯¤Æ¤â¹½¤ï¤Ê¤¤
603 .\".Ns ( Xr ls 1
604 .\"¥³¥Þ¥ó¥É¤ÏÁȤ߹þ¤ß¥³¥Þ¥ó¥É¤È¤·¤Æ¸ºß¤¹¤ë)¡£
605 .\"  -- ÁȤ߹þ¤ß¤Î ls ¥³¥Þ¥ó¥É¤Ï Linux ÈǤˤϤʤ¤ (¤Þ¤À¤Ê¤«¤Ã¤¿¤«¤Ê¡©)
606 .\"O This directory is required, and should contain at least a statically
607 .\"O linked copy of
608 .\"O .Xr ls 1.
609 .\"O Any programs in this directory should be mode 111 (executable only).
610 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÏɬÍפǡ¢
611 ¾¯¤Ê¤¯¤È¤âÀÅŪ¤Ë¥ê¥ó¥¯¤µ¤ì¤¿
612 .Xr ls 1
613 ¤Î¥³¥Ô¡¼¤¬¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
614 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥×¥í¥°¥é¥à¤Î¥â¡¼¥É¤Ï¡¢
615 111 (¼Â¹Ô°À­¤Î¤ß) ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
616 .It Pa ~ftp/etc
617 .\"O Make this directory owned by
618 .\"O .Dq root
619 .\"O and unwritable by anyone (mode 511).
620 .\"O The files 
621 .\"O .\" pwd.db (see
622 .\"O .\" .Xr pwd_mkdb 8 )
623 .\"O .Xr passwd 5
624 .\"O and
625 .\"O .Xr group 5
626 .\"O must be present for the
627 .\"O .Xr ls
628 .\"O command to be able to produce owner names rather than numbers.
629 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò
630 .Dq root
631 ¤Î½êÍ­¤È¤·¡¢Ã¯¤â½ñ¤­¹þ¤ß¤Ç¤­¤Ê¤¤¤è¤¦¤Ë (¥â¡¼¥É¤ò 511 ¤Ë) ¤¹¤ë¤³¤È¡£
632 .Xr ls
633 ¥³¥Þ¥ó¥É¤¬½êÍ­¼Ô¤ò¿ô»ú¤Ç¤Ï¤Ê¤¯Ì¾Á°¤Çɽ¼¨¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¡¢
634 ¥Õ¥¡¥¤¥ë
635 .\" pwd.db
636 .\" .Ns ( Xr pwd_mkdb 8
637 .\" ¤ò»²¾È)
638 .Xr passwd 5
639 ¤È
640 .Xr group 5
641 ¤¬É¬ÍפǤ¢¤ë¡£
642 .\"O The password field in
643 .\"O .\" .Xr pwd.db
644 .\"O .Pa passwd
645 .\"O is not used, and should not contain real passwords.
646 .\"O The file
647 .\"O .Pa motd ,
648 .\"O if present, will be printed after a successful login.
649 .\"O These files should be mode 444.
650 .\" .Xr pwd.db
651 .Pa passwd
652 ¤Î¥Ñ¥¹¥ï¡¼¥É¥Õ¥£¡¼¥ë¥É¤Ï»ÈÍѤµ¤ì¤Ê¤¤¤Î¤Ç¡¢
653 ¼ÂºÝ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÆþ¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
654 ¥Õ¥¡¥¤¥ë
655 .Pa motd
656 ¤¬Â¸ºß¤¹¤ë¤È¡¢¥í¥°¥¤¥óÀ®¸ù¸å¡¢¤½¤ÎÆâÍƤ¬É½¼¨¤µ¤ì¤ë¡£
657 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¥â¡¼¥É¤¬ 444 ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
658 .It Pa ~ftp/pub
659 .\"O Make this directory mode 555 and owned by
660 .\"O .Dq root .
661 .\"O This is traditionally where publically accessible files are
662 .\"O stored for download.
663 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥â¡¼¥É¤ò 555 ¤È¤·¡¢
664 .Dq root
665 ¤Î½êÍ­¤È¤¹¤ë¤³¤È¡£
666 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢ÅÁÅýŪ¤Ë¡¢¥À¥¦¥ó¥í¡¼¥É¤Î¤¿¤á¤Î
667 ¸ø³«¥¢¥¯¥»¥¹²Äǽ¤Ê¥Õ¥¡¥¤¥ë¤¬³ÊǼ¤µ¤ì¤ë¡£
668 .El
669 .\"O .Sh FILES
670 .Sh ¥Õ¥¡¥¤¥ë
671 .Bl -tag -width /etc/ftpwelcome -compact
672 .It Pa /etc/ftpusers
673 .\"O List of unwelcome/restricted users.
674 ´¿·Þ¤µ¤ì¤Ê¤¤/À©¸Â¤ò¼õ¤±¤ë¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¡£
675 .It Pa /etc/ftpchroot
676 .\"O List of normal users who should be chroot'd.
677 chroot ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤°ìÈ̥桼¥¶¡¼¤Î¥ê¥¹¥È¡£
678 .It Pa /etc/ftpwelcome
679 .\"O Welcome notice.
680 ´¿·Þ¤Î¥á¥Ã¥»¡¼¥¸¡£
681 .It Pa /etc/motd
682 .\"O Welcome notice after login.
683 ¥í¥°¥¤¥ó¸å¤Î´¿·Þ¤Î¥á¥Ã¥»¡¼¥¸¡£
684 .It Pa /etc/nologin
685 .\"O Displayed and access refused.
686 ɽ¼¨¤µ¤ì¤Æ¡¢¥¢¥¯¥»¥¹¤¬µñÈݤµ¤ì¤ë¡£
687 .It Pa /var/run/utmp
688 .\"O List of users on the system.
689 ¥·¥¹¥Æ¥à¾å¤Î¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¡£
690 .It Pa /var/log/ftpd
691 .\"O Log file for anonymous transfers.
692 ƿ̾¥Õ¥¡¥¤¥ëžÁ÷¤Î¥í¥°¥Õ¥¡¥¤¥ë¡£
693 .El
694 .\"O .Sh SEE ALSO
695 .Sh ´ØÏ¢¹àÌÜ
696 .Xr ftp 1 ,
697 .Xr skey 1 ,
698 .Xr who 1 ,
699 .Xr getusershell 3 ,
700 .Xr ftpusers 5 ,
701 .Xr syslogd 8
702 .\"O .Sh BUGS
703 .Sh ¥Ð¥°
704 .\"O The server must run as the super-user
705 .\"O to create sockets with privileged port numbers.  It maintains
706 .\"O an effective user ID of the logged in user, reverting to
707 .\"O the super-user only when binding addresses to sockets.  The
708 .\"O possible security holes have been extensively
709 .\"O scrutinized, but are possibly incomplete.
710 Æø¢¥Ý¡¼¥ÈÈÖ¹æ¤òÍѤ¤¤Æ¥½¥±¥Ã¥È¤òºîÀ®¤¹¤ë¤¿¤á¤Ë¡¢
711 ¥µ¡¼¥Ð¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤È¤·¤Æ¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
712 ¥µ¡¼¥Ð¡¼¤Ï¥í¥°¥¤¥ó¤·¤¿¥æ¡¼¥¶¡¼¤Î¼Â¹Ô¥æ¡¼¥¶¡¼ ID ¤ò´ÉÍý¤¹¤ë (»È¤¦)¡£
713 ¤½¤·¤Æ¡¢¥¢¥É¥ì¥¹¤ò¥½¥±¥Ã¥È¤Ë¥Ð¥¤¥ó¥É¤¹¤ë¾ì¹ç¤Ë¤Î¤ß¡¢
714 ¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¤ËÌá¤ë (¤½¤Î¸¢¸Â¤ò»È¤¦)¡£
715 ¹Í¤¨¤é¤ì¤ë¥»¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤Ë¤Ä¤¤¤Æ¤Ï¡¢¤«¤Ê¤êÌÊÌ©¤ËÄ´¤Ù¤¿¤¬¡¢
716 ¤½¤ì¤Ç¤âÉÔ´°Á´¤«¤â¤·¤ì¤Ê¤¤¡£
717 .\"O .Sh HISTORY
718 .Sh ÍúÎò
719 .\"O The
720 .\"O .Nm
721 .\"O command appeared in
722 .\"O .Bx 4.2 .
723 .Nm
724 ¥³¥Þ¥ó¥É¤Ï
725 .Bx 4.2
726 ¤ÇÅо줷¤¿¡£
727 .Sh ËÝÌõ¼Ô¼Õ¼­
728 ¤³¤Î man ¥Ú¡¼¥¸¤ÎËÝÌõ¤Ë¤¢¤¿¤ê¡¢
729 FreeBSD jpman project <http://www.jp.freebsd.org/man-jp/>
730 ¤Ë¤è¤ëËÝÌõ¤ò»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤¿¡£