From owner-freebsd-questions Mon Jun 10 0:33:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Danovitsch.dnsq.org (b74143.upc-b.chello.nl [212.83.74.143]) by hub.freebsd.org (Postfix) with ESMTP id 2FEE237B401 for ; Mon, 10 Jun 2002 00:33:07 -0700 (PDT) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Danovitsch.dnsq.org (8.11.3/8.11.3) with SMTP id g5A7VT005063; Mon, 10 Jun 2002 09:31:30 +0200 (CEST) (envelope-from Danovitsch@Danovitsch.dnsq.org) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" Reply-To: Danovitsch@Danovitsch.dnsq.org To: "Defryn, Guy" Subject: Re: FTP server on freebsd Date: Mon, 10 Jun 2002 09:41:15 +0200 X-Mailer: KMail [version 1.2] References: <98B01D2717B9D411B38F0008C7840931057F38FF@its-xchg2.massey.ac.nz> In-Reply-To: <98B01D2717B9D411B38F0008C7840931057F38FF@its-xchg2.massey.ac.nz> Cc: FreeBSD-Questions@FreeBSD.org MIME-Version: 1.0 Message-Id: <02061009411500.00516@FreeBSD.Danovitsch.LAN> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 09 June 2002 23:06, you wrote: > Hi there, > > I have configured my freebsd machine with ftp access. > However, I have a feeling that it is not very secure. > When I set it up with the default settings I see the > /etc/ folder and it has a passwd file in it. If you create a file named '/etc/ftpchroot', and put the username of the ftp user in it, ftpd will chroot when this user log's in. This way the user will not be able to 'cd' out of it's home-dir. If you have a bunch of different ftp-account's which you want to do this for, just put all the users in one group (eg: ftpusers), and add '@ftpusers' to /etc/ftpchroot > Are there any documents available on securing FTP? > I can't seem to find it on the freebsd website. man ftpd :) > Cheers grtz, Daan -- Control the lights in my room: http://www.Danovitsch.dnsq.org/webcam Moo, ]:8) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message