xref: /freebsd/libexec/ftpd/ftpd.8 (revision 105a3c98b92a4b9f0bf5ba813024d65fb1d5064b)
1ea022d16SRodney W. Grimes.\" Copyright (c) 1985, 1988, 1991, 1993
2ea022d16SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
3ea022d16SRodney W. Grimes.\"
4ea022d16SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
5ea022d16SRodney W. Grimes.\" modification, are permitted provided that the following conditions
6ea022d16SRodney W. Grimes.\" are met:
7ea022d16SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
8ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
9ea022d16SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
10ea022d16SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
11ea022d16SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
12ea022d16SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software
13ea022d16SRodney W. Grimes.\"    must display the following acknowledgement:
14ea022d16SRodney W. Grimes.\"	This product includes software developed by the University of
15ea022d16SRodney W. Grimes.\"	California, Berkeley and its contributors.
16ea022d16SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors
17ea022d16SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
18ea022d16SRodney W. Grimes.\"    without specific prior written permission.
19ea022d16SRodney W. Grimes.\"
20ea022d16SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21ea022d16SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22ea022d16SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23ea022d16SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24ea022d16SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25ea022d16SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26ea022d16SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27ea022d16SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28ea022d16SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29ea022d16SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30ea022d16SRodney W. Grimes.\" SUCH DAMAGE.
31ea022d16SRodney W. Grimes.\"
32ea022d16SRodney W. Grimes.\"     @(#)ftpd.8	8.2 (Berkeley) 4/19/94
33ea022d16SRodney W. Grimes.\"
34ea022d16SRodney W. Grimes.Dd April 19, 1994
35ea022d16SRodney W. Grimes.Dt FTPD 8
36ea022d16SRodney W. Grimes.Os BSD 4.2
37ea022d16SRodney W. Grimes.Sh NAME
38ea022d16SRodney W. Grimes.Nm ftpd
39ea022d16SRodney W. Grimes.Nd
40ea022d16SRodney W. GrimesInternet File Transfer Protocol server
41ea022d16SRodney W. Grimes.Sh SYNOPSIS
42ea022d16SRodney W. Grimes.Nm ftpd
43ea022d16SRodney W. Grimes.Op Fl dl
44cf09a206SDavid Greenman.Op Fl D
45a5a4544eSPaul Traina.Op Fl R
463eb568f2SGuido van Rooij.Op Fl S
474c450ad7SPaul Traina.Op Fl U
48ea022d16SRodney W. Grimes.Op Fl T Ar maxtimeout
49ea022d16SRodney W. Grimes.Op Fl t Ar timeout
50105a3c98SJulian Elischer.Op Fl a Ar address
51105a3c98SJulian Elischer.Op Fl p Ar file
52ea022d16SRodney W. Grimes.Sh DESCRIPTION
53ea022d16SRodney W. Grimes.Nm Ftpd
54ea022d16SRodney W. Grimesis the
55ea022d16SRodney W. GrimesInternet File Transfer Protocol
56ea022d16SRodney W. Grimesserver process.  The server uses the
57ea022d16SRodney W. Grimes.Tn TCP
58ea022d16SRodney W. Grimesprotocol
59ea022d16SRodney W. Grimesand listens at the port specified in the
60ea022d16SRodney W. Grimes.Dq ftp
61ea022d16SRodney W. Grimesservice specification; see
62ea022d16SRodney W. Grimes.Xr services 5 .
63ea022d16SRodney W. Grimes.Pp
64ea022d16SRodney W. GrimesAvailable options:
65ea022d16SRodney W. Grimes.Bl -tag -width Ds
66ea022d16SRodney W. Grimes.It Fl d
67ea022d16SRodney W. GrimesDebugging information is written to the syslog using LOG_FTP.
68ea022d16SRodney W. Grimes.It Fl l
69ea022d16SRodney W. GrimesEach successful and failed
70ea022d16SRodney W. Grimes.Xr ftp 1
71ea022d16SRodney W. Grimessession is logged using syslog with a facility of LOG_FTP.
72ea022d16SRodney W. GrimesIf this option is specified twice, the retrieve (get), store (put), append,
73ea022d16SRodney W. Grimesdelete, make directory, remove directory and rename operations and
74ea022d16SRodney W. Grimestheir filename arguments are also logged.
75cf09a206SDavid Greenman.It Fl D
76cf09a206SDavid GreenmanWith this option set,
77cf09a206SDavid Greenman.Nm ftpd
78cf09a206SDavid Greenmanwill detach and become a daemon, accepting connections on the FTP port and
79cf09a206SDavid Greenmanforking children processes to handle them. This is lower overhead than
80cf09a206SDavid Greenmanstarting
81cf09a206SDavid Greenman.Nm ftpd
82cf09a206SDavid Greenmanfrom
83cf09a206SDavid Greenman.Xr inetd 8
84cf09a206SDavid Greenmanand is thus useful on busy servers to reduce load.
85a5a4544eSPaul Traina.It Fl R
86a5a4544eSPaul TrainaWith this option set,
87a5a4544eSPaul Traina.Nm ftpd
88a5a4544eSPaul Trainawill revert to historical behavior with regard to security checks on
89a5a4544eSPaul Trainauser operations and restrictions on PORT requests.
90a5a4544eSPaul TrainaCurrently,
91a5a4544eSPaul Traina.Nm ftpd
92a5a4544eSPaul Trainawill only honor PORT commands directed to unprivileged ports on the
93a5a4544eSPaul Trainaremote user's host (which violates the FTP protocol specification but
94a5a4544eSPaul Trainacloses some security holes).
95a5a4544eSPaul Traina.
963eb568f2SGuido van Rooij.It Fl S
973eb568f2SGuido van RooijWith this option set,
983eb568f2SGuido van Rooij.Nm ftpd
993eb568f2SGuido van Rooijlogs all anonymous transfers to the file
1003eb568f2SGuido van Rooij.Pa /var/log/ftpd
1013eb568f2SGuido van Rooijwhen this file exists.
1023eb568f2SGuido van Rooij.
1034c450ad7SPaul Traina.It Fl U
1044c450ad7SPaul TrainaIn previous versions of
1054c450ad7SPaul Traina.Nm ftpd ,
1064c450ad7SPaul Trainawhen a passive mode client requested a data connection to the server,
1074c450ad7SPaul Trainathe server would use data ports in the range 1024..4999.  Now, by default,
1084c450ad7SPaul Trainathe server will use data ports in the range 40000..44999.  Specifying this
1094c450ad7SPaul Trainaoption will revert to the old behavior.
110ea022d16SRodney W. Grimes.It Fl T
111ea022d16SRodney W. GrimesA client may also request a different timeout period;
112ea022d16SRodney W. Grimesthe maximum period allowed may be set to
113ea022d16SRodney W. Grimes.Ar timeout
114ea022d16SRodney W. Grimesseconds with the
115ea022d16SRodney W. Grimes.Fl T
116ea022d16SRodney W. Grimesoption.
117ea022d16SRodney W. GrimesThe default limit is 2 hours.
118ea022d16SRodney W. Grimes.It Fl t
119ea022d16SRodney W. GrimesThe inactivity timeout period is set to
120ea022d16SRodney W. Grimes.Ar timeout
121ea022d16SRodney W. Grimesseconds (the default is 15 minutes).
122105a3c98SJulian Elischer.It Fl a
123105a3c98SJulian ElischerWhen
124105a3c98SJulian Elischer.Fl D
125105a3c98SJulian Elischeris specified, accept connections only on the specified
126105a3c98SJulian Elischer.Ar address .
127105a3c98SJulian Elischer.It Fl p
128105a3c98SJulian ElischerWhen
129105a3c98SJulian Elischer.Fl D
130105a3c98SJulian Elischeris specified, write the daemon's process ID to
131105a3c98SJulian Elischer.Ar file .
132ea022d16SRodney W. Grimes.El
133ea022d16SRodney W. Grimes.Pp
134ea022d16SRodney W. GrimesThe file
135ea022d16SRodney W. Grimes.Pa /etc/nologin
136ea022d16SRodney W. Grimescan be used to disable ftp access.
137ea022d16SRodney W. GrimesIf the file exists,
138ea022d16SRodney W. Grimes.Nm
139ea022d16SRodney W. Grimesdisplays it and exits.
140ea022d16SRodney W. GrimesIf the file
141ea022d16SRodney W. Grimes.Pa /etc/ftpwelcome
142ea022d16SRodney W. Grimesexists,
143ea022d16SRodney W. Grimes.Nm
144ea022d16SRodney W. Grimesprints it before issuing the
145ea022d16SRodney W. Grimes.Dq ready
146ea022d16SRodney W. Grimesmessage.
147ea022d16SRodney W. GrimesIf the file
148025362a7SGary Palmer.Pa /etc/ftpmotd
149ea022d16SRodney W. Grimesexists,
150ea022d16SRodney W. Grimes.Nm
151ea022d16SRodney W. Grimesprints it after a successful login.
152ea022d16SRodney W. Grimes.Pp
153ea022d16SRodney W. GrimesThe ftp server currently supports the following ftp requests.
154ea022d16SRodney W. GrimesThe case of the requests is ignored.
155ea022d16SRodney W. Grimes.Bl -column "Request" -offset indent
156ea022d16SRodney W. Grimes.It Request Ta "Description"
157ea022d16SRodney W. Grimes.It ABOR Ta "abort previous command"
158ea022d16SRodney W. Grimes.It ACCT Ta "specify account (ignored)"
159ea022d16SRodney W. Grimes.It ALLO Ta "allocate storage (vacuously)"
160ea022d16SRodney W. Grimes.It APPE Ta "append to a file"
161ea022d16SRodney W. Grimes.It CDUP Ta "change to parent of current working directory"
162ea022d16SRodney W. Grimes.It CWD Ta "change working directory"
163ea022d16SRodney W. Grimes.It DELE Ta "delete a file"
164ea022d16SRodney W. Grimes.It HELP Ta "give help information"
165ea022d16SRodney W. Grimes.It LIST Ta "give list files in a directory" Pq Dq Li "ls -lgA"
166ea022d16SRodney W. Grimes.It MKD Ta "make a directory"
167ea022d16SRodney W. Grimes.It MDTM Ta "show last modification time of file"
168ea022d16SRodney W. Grimes.It MODE Ta "specify data transfer" Em mode
169ea022d16SRodney W. Grimes.It NLST Ta "give name list of files in directory"
170ea022d16SRodney W. Grimes.It NOOP Ta "do nothing"
171ea022d16SRodney W. Grimes.It PASS Ta "specify password"
172ea022d16SRodney W. Grimes.It PASV Ta "prepare for server-to-server transfer"
173ea022d16SRodney W. Grimes.It PORT Ta "specify data connection port"
174ea022d16SRodney W. Grimes.It PWD Ta "print the current working directory"
175ea022d16SRodney W. Grimes.It QUIT Ta "terminate session"
176ea022d16SRodney W. Grimes.It REST Ta "restart incomplete transfer"
177ea022d16SRodney W. Grimes.It RETR Ta "retrieve a file"
178ea022d16SRodney W. Grimes.It RMD Ta "remove a directory"
179ea022d16SRodney W. Grimes.It RNFR Ta "specify rename-from file name"
180ea022d16SRodney W. Grimes.It RNTO Ta "specify rename-to file name"
181ea022d16SRodney W. Grimes.It SITE Ta "non-standard commands (see next section)"
182ea022d16SRodney W. Grimes.It SIZE Ta "return size of file"
183ea022d16SRodney W. Grimes.It STAT Ta "return status of server"
184ea022d16SRodney W. Grimes.It STOR Ta "store a file"
185ea022d16SRodney W. Grimes.It STOU Ta "store a file with a unique name"
186ea022d16SRodney W. Grimes.It STRU Ta "specify data transfer" Em structure
187ea022d16SRodney W. Grimes.It SYST Ta "show operating system type of server system"
188ea022d16SRodney W. Grimes.It TYPE Ta "specify data transfer" Em type
189ea022d16SRodney W. Grimes.It USER Ta "specify user name"
190ea022d16SRodney W. Grimes.It XCUP Ta "change to parent of current working directory (deprecated)"
191ea022d16SRodney W. Grimes.It XCWD Ta "change working directory (deprecated)"
192ea022d16SRodney W. Grimes.It XMKD Ta "make a directory (deprecated)"
193ea022d16SRodney W. Grimes.It XPWD Ta "print the current working directory (deprecated)"
194ea022d16SRodney W. Grimes.It XRMD Ta "remove a directory (deprecated)"
195ea022d16SRodney W. Grimes.El
196ea022d16SRodney W. Grimes.Pp
197ea022d16SRodney W. GrimesThe following non-standard or
198ea022d16SRodney W. Grimes.Tn UNIX
199ea022d16SRodney W. Grimesspecific commands are supported
200ea022d16SRodney W. Grimesby the
201ea022d16SRodney W. GrimesSITE request.
202ea022d16SRodney W. Grimes.Pp
203ea022d16SRodney W. Grimes.Bl -column Request -offset indent
204ea022d16SRodney W. Grimes.It Sy Request Ta Sy Description
205ea022d16SRodney W. Grimes.It UMASK Ta change umask, e.g. ``SITE UMASK 002''
206ea022d16SRodney W. Grimes.It IDLE Ta set idle-timer, e.g. ``SITE IDLE 60''
207ea022d16SRodney W. Grimes.It CHMOD Ta change mode of a file, e.g. ``SITE CHMOD 755 filename''
208ea022d16SRodney W. Grimes.It HELP Ta give help information.
209ea022d16SRodney W. Grimes.El
210ea022d16SRodney W. Grimes.Pp
211ea022d16SRodney W. GrimesThe remaining ftp requests specified in Internet RFC 959
212ea022d16SRodney W. Grimesare
213ea022d16SRodney W. Grimesrecognized, but not implemented.
214ea022d16SRodney W. GrimesMDTM and SIZE are not specified in RFC 959, but will appear in the
215ea022d16SRodney W. Grimesnext updated FTP RFC.
216ea022d16SRodney W. Grimes.Pp
217ea022d16SRodney W. GrimesThe ftp server will abort an active file transfer only when the
218ea022d16SRodney W. GrimesABOR
219ea022d16SRodney W. Grimescommand is preceded by a Telnet "Interrupt Process" (IP)
220ea022d16SRodney W. Grimessignal and a Telnet "Synch" signal in the command Telnet stream,
221ea022d16SRodney W. Grimesas described in Internet RFC 959.
222ea022d16SRodney W. GrimesIf a
223ea022d16SRodney W. GrimesSTAT
224ea022d16SRodney W. Grimescommand is received during a data transfer, preceded by a Telnet IP
225ea022d16SRodney W. Grimesand Synch, transfer status will be returned.
226ea022d16SRodney W. Grimes.Pp
227ea022d16SRodney W. Grimes.Nm Ftpd
228ea022d16SRodney W. Grimesinterprets file names according to the
229ea022d16SRodney W. Grimes.Dq globbing
230ea022d16SRodney W. Grimesconventions used by
231ea022d16SRodney W. Grimes.Xr csh 1 .
232ea022d16SRodney W. GrimesThis allows users to utilize the metacharacters
233ea022d16SRodney W. Grimes.Dq Li \&*?[]{}~ .
234ea022d16SRodney W. Grimes.Pp
235ea022d16SRodney W. Grimes.Nm Ftpd
236a5a4544eSPaul Trainaauthenticates users according to five rules.
237ea022d16SRodney W. Grimes.Pp
238ea022d16SRodney W. Grimes.Bl -enum -offset indent
239ea022d16SRodney W. Grimes.It
240ea022d16SRodney W. GrimesThe login name must be in the password data base,
241a5a4544eSPaul Traina.Pa /etc/pwd.db ,
242ea022d16SRodney W. Grimesand not have a null password.
243ea022d16SRodney W. GrimesIn this case a password must be provided by the client before any
244ea022d16SRodney W. Grimesfile operations may be performed.
245a5a4544eSPaul TrainaIf the user has an S/Key key, the response from a successful USER
246a5a4544eSPaul Trainacommand will include an S/Key challenge. The client may choose to respond
247a5a4544eSPaul Trainawith a PASS command giving either a standard password or an S/Key
248a5a4544eSPaul Trainaone-time password. The server will automatically determine which type of
249a5a4544eSPaul Trainapassword it has been given and attempt to authenticate accordingly. See
250a5a4544eSPaul Traina.Xr key 1
251a5a4544eSPaul Trainafor more information on S/Key authentication. S/Key is a Trademark of
252a5a4544eSPaul TrainaBellcore.
253ea022d16SRodney W. Grimes.It
254ea022d16SRodney W. GrimesThe login name must not appear in the file
255ea022d16SRodney W. Grimes.Pa /etc/ftpusers .
256ea022d16SRodney W. Grimes.It
257ea022d16SRodney W. GrimesThe user must have a standard shell returned by
258ea022d16SRodney W. Grimes.Xr getusershell 3 .
259ea022d16SRodney W. Grimes.It
260a5a4544eSPaul TrainaIf the user name appears in the file
261a5a4544eSPaul Traina.Pa /etc/ftpchroot
262a5a4544eSPaul Trainathe session's root will be changed to the user's login directory by
263a5a4544eSPaul Traina.Xr chroot 2
264a5a4544eSPaul Trainaas for an
265a5a4544eSPaul Traina.Dq anonymous
266a5a4544eSPaul Trainaor
267a5a4544eSPaul Traina.Dq ftp
268a5a4544eSPaul Trainaaccount (see next item).  However, the user must still supply a password.
269a5a4544eSPaul TrainaThis feature is intended as a compromise between a fully anonymous account
270a5a4544eSPaul Trainaand a fully privileged account.  The account should also be set up as for an
271a5a4544eSPaul Trainaanonymous account.
272a5a4544eSPaul Traina.It
273ea022d16SRodney W. GrimesIf the user name is
274ea022d16SRodney W. Grimes.Dq anonymous
275ea022d16SRodney W. Grimesor
276ea022d16SRodney W. Grimes.Dq ftp ,
277ea022d16SRodney W. Grimesan
278ea022d16SRodney W. Grimesanonymous ftp account must be present in the password
279ea022d16SRodney W. Grimesfile (user
280ea022d16SRodney W. Grimes.Dq ftp ) .
281ea022d16SRodney W. GrimesIn this case the user is allowed
282ea022d16SRodney W. Grimesto log in by specifying any password (by convention an email address for
283a5a4544eSPaul Trainathe user should be used as the password).
284a5a4544eSPaul TrainaWhen the
2853eb568f2SGuido van Rooij.Fl S
2863eb568f2SGuido van Rooijoption is set, all transfers are logged as well.
287ea022d16SRodney W. Grimes.El
288ea022d16SRodney W. Grimes.Pp
289ea022d16SRodney W. GrimesIn the last case,
290ea022d16SRodney W. Grimes.Nm ftpd
291ea022d16SRodney W. Grimestakes special measures to restrict the client's access privileges.
292ea022d16SRodney W. GrimesThe server performs a
293ea022d16SRodney W. Grimes.Xr chroot 2
294ea022d16SRodney W. Grimesto the home directory of the
295ea022d16SRodney W. Grimes.Dq ftp
296ea022d16SRodney W. Grimesuser.
297ea022d16SRodney W. GrimesIn order that system security is not breached, it is recommended
298ea022d16SRodney W. Grimesthat the
299ea022d16SRodney W. Grimes.Dq ftp
300ea022d16SRodney W. Grimessubtree be constructed with care, following these rules:
301ea022d16SRodney W. Grimes.Bl -tag -width "~ftp/pub" -offset indent
302ea022d16SRodney W. Grimes.It Pa ~ftp
303ea022d16SRodney W. GrimesMake the home directory owned by
304ea022d16SRodney W. Grimes.Dq root
305ea022d16SRodney W. Grimesand unwritable by anyone.
306ea022d16SRodney W. Grimes.It Pa ~ftp/bin
307ea022d16SRodney W. GrimesMake this directory owned by
308ea022d16SRodney W. Grimes.Dq root
309ea022d16SRodney W. Grimesand unwritable by anyone (mode 555).
310ea022d16SRodney W. GrimesThe program
311ea022d16SRodney W. Grimes.Xr ls 1
312ea022d16SRodney W. Grimesmust be present to support the list command.
313ea022d16SRodney W. GrimesThis program should be mode 111.
314ea022d16SRodney W. Grimes.It Pa ~ftp/etc
315ea022d16SRodney W. GrimesMake this directory owned by
316ea022d16SRodney W. Grimes.Dq root
317ea022d16SRodney W. Grimesand unwritable by anyone (mode 555).
318a5a4544eSPaul TrainaThe files pwd.db (see
319a5a4544eSPaul Traina.Xr passwd 5 )
320ea022d16SRodney W. Grimesand
321ea022d16SRodney W. Grimes.Xr group 5
322ea022d16SRodney W. Grimesmust be present for the
323ea022d16SRodney W. Grimes.Xr ls
324ea022d16SRodney W. Grimescommand to be able to produce owner names rather than numbers.
325ea022d16SRodney W. GrimesThe password field in
326ea022d16SRodney W. Grimes.Xr passwd
327ea022d16SRodney W. Grimesis not used, and should not contain real passwords.
328ea022d16SRodney W. GrimesThe file
3297253b58bSGary Palmer.Pa ftpmotd ,
330ea022d16SRodney W. Grimesif present, will be printed after a successful login.
331ea022d16SRodney W. GrimesThese files should be mode 444.
332ea022d16SRodney W. Grimes.It Pa ~ftp/pub
333ea022d16SRodney W. GrimesMake this directory mode 777 and owned by
334ea022d16SRodney W. Grimes.Dq ftp .
335ea022d16SRodney W. GrimesGuests
336ea022d16SRodney W. Grimescan then place files which are to be accessible via the anonymous
337ea022d16SRodney W. Grimesaccount in this directory.
338ea022d16SRodney W. Grimes.El
339ea022d16SRodney W. Grimes.Sh FILES
340ea022d16SRodney W. Grimes.Bl -tag -width /etc/ftpwelcome -compact
341ea022d16SRodney W. Grimes.It Pa /etc/ftpusers
342ea022d16SRodney W. GrimesList of unwelcome/restricted users.
343a5a4544eSPaul Traina.It Pa /etc/ftpchroot
344a5a4544eSPaul TrainaList of normal users who should be chroot'd.
345ea022d16SRodney W. Grimes.It Pa /etc/ftpwelcome
346ea022d16SRodney W. GrimesWelcome notice.
3477253b58bSGary Palmer.It Pa /etc/ftpmotd
348ea022d16SRodney W. GrimesWelcome notice after login.
349ea022d16SRodney W. Grimes.It Pa /etc/nologin
350ea022d16SRodney W. GrimesDisplayed and access refused.
3513eb568f2SGuido van Rooij.It Pa /var/log/ftpd
3523eb568f2SGuido van RooijLog file for anonymous transfers.
353ea022d16SRodney W. Grimes.El
354ea022d16SRodney W. Grimes.Sh SEE ALSO
355ea022d16SRodney W. Grimes.Xr ftp 1 ,
356a5a4544eSPaul Traina.Xr key 1 ,
357ea022d16SRodney W. Grimes.Xr getusershell 3 ,
358cf09a206SDavid Greenman.Xr inetd 8 ,
359ea022d16SRodney W. Grimes.Xr syslogd 8
360ea022d16SRodney W. Grimes.Sh BUGS
361ea022d16SRodney W. GrimesThe server must run as the super-user
362ea022d16SRodney W. Grimesto create sockets with privileged port numbers.  It maintains
363ea022d16SRodney W. Grimesan effective user id of the logged in user, reverting to
364ea022d16SRodney W. Grimesthe super-user only when binding addresses to sockets.  The
365ea022d16SRodney W. Grimespossible security holes have been extensively
366ea022d16SRodney W. Grimesscrutinized, but are possibly incomplete.
367ea022d16SRodney W. Grimes.Sh HISTORY
368ea022d16SRodney W. GrimesThe
369ea022d16SRodney W. Grimes.Nm
370ea022d16SRodney W. Grimescommand appeared in
371ea022d16SRodney W. Grimes.Bx 4.2 .
372