Date: Mon, 6 Nov 2000 11:03:28 -0600 From: Steve Price <sprice@hiwaay.net> To: Dave Wilson <davew@sai.co.za> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Limited FTP accounts Message-ID: <20001106110328.B70975@bonsai.knology.net> In-Reply-To: <027901c047eb$ccf15ab0$112821c4@sai.co.za>; from davew@sai.co.za on Mon, Nov 06, 2000 at 02:19:24PM %2B0200 References: <027901c047eb$ccf15ab0$112821c4@sai.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 06, 2000 at 02:19:24PM +0200, Dave Wilson wrote: # # Any one got any ideas on how to restrict an FTP user to only accessing his # home directory and nothing else ? # See I want a normal user to have access to nothing else other than his home # directory. From the ftpd() manpage: 5. If the user name appears in the file /etc/ftpchroot, or the user is a member of a group with a group entry in this file, i.e. one prefixed with `@', the session's root will be changed to the user's login directory by chroot(2) as for an ``anonymous'' or ``ftp'' account (see next item). This facil- ity may also be triggered by enabling the boolean "ftp-chroot" capability in login.conf(5). However, the user must still supply a password. This feature is intended as a compromise between a fully anonymous account and a fully privileged ac- count. The account should also be set up as for an anonymous account. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001106110328.B70975>