Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 00:31:27 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Nick Evans <nevans@nextvenue.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: locking ftp users in their folder and their folder only
Message-ID:  <20000817003126.E28027@149.211.6.64.reflexcom.com>
In-Reply-To: <712384017032D411AD7B0001023D799B33B291@sn1exchmbx.nextvenue.com>; from nevans@nextvenue.com on Wed, Aug 16, 2000 at 04:58:49PM -0400
References:  <712384017032D411AD7B0001023D799B33B291@sn1exchmbx.nextvenue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 16, 2000 at 04:58:49PM -0400, Nick Evans wrote:
> How can I prevent ftp users from browsing other folders in the same way the
> anonymous user is prevented? BTW Did something happen the mailing list
> archives? Searching seems to be broken.

RTFM, ftpd(8),

           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.

-- 
Crist J. Clark                           cjclark@alum.mit.com


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?20000817003126.E28027>