From owner-freebsd-questions Tue Feb 16 07:00:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27191 for freebsd-questions-outgoing; Tue, 16 Feb 1999 07:00:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27136 for ; Tue, 16 Feb 1999 07:00:03 -0800 (PST) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 2662"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-29 #30976) with ESMTP id <0F7900EI34W1UR@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Tue, 16 Feb 1999 09:43:13 -0500 (EST) Date: Tue, 16 Feb 1999 09:43:13 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: wu-ftpd VR13 In-reply-to: To: andy Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andy, this is documented in ftpaccess(5). Basically, you need to change your passwd entry for each user to look like this for their home directory: /home/ftpuser/./ /home/ftpuser will be the new root, and then ftpd will cd to the directory component after the ./. If you omit the cd component, the root will be their home directory, and that's where they'll sit after they login. man ftpaccess will definitely tell you more. Joe Clarke On Tue, 16 Feb 1999, andy wrote: > > hi there! > > how could I get my subj. to chroot users into their home dir? > > I've created /etc/ftpchroot > the content being like > > @users > joe > foo > > > but it doesn't chroot them :-( > > > catchya later, > andy > Kishington is real. The rest is done with mirrors. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message