Date: Wed, 16 Oct 2002 23:32:08 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ms Carlsson <dyn_dns_sweden@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /usr/libexec/ftpd Message-ID: <20021016223208.GB84463@happy-idiot-talk.infracaninophi> In-Reply-To: <F65EhGD1XyCTr9rf3yX00000e33@hotmail.com> References: <F65EhGD1XyCTr9rf3yX00000e33@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 16, 2002 at 11:56:10PM +0200, Ms Carlsson wrote: > How do i set the anonymous homedir? You have to create a 'ftp' user if you're going to support anonymous ftp. Do that using the usual system tools, eg: pw groupadd -n ftp -g 21 pw useradd -n ftp -u 21 -c "Anonymous FTP" -d /home/ftp which sets the anonymouse ftp area to /home/ftp. Read and follow carefully the instructions in the ftpd(8) man page about how to set up that area --- if you don't do it right you can open up a security hole a mile wide. > How do i set maximum of connections. See ftpd.conf(5), ftpchroot(5) and ftpusers(5) man pages, but essentially you need to add: anonymous allow ftp allow to /etc/ftpusers, and add: limit guest 100 to /etc/ftpd.conf, which will limit you to 100 concurrent anonymous ftp users (Create the file if it doesn't exist already). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021016223208.GB84463>