From owner-freebsd-questions Wed Dec 20 5: 1:18 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 05:01:16 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from kearneys.ca (cr442866-a.crdva1.bc.wave.home.com [24.115.134.86]) by hub.freebsd.org (Postfix) with ESMTP id 3EDCD37B400 for ; Wed, 20 Dec 2000 05:01:16 -0800 (PST) Received: (from brent@localhost) by kearneys.ca (8.11.1/8.11.1) id eBKD4PY29542; Wed, 20 Dec 2000 05:04:25 -0800 (PST) (envelope-from brent) Date: Wed, 20 Dec 2000 05:04:24 -0800 From: Brent Kearney To: sac@gruponet.com.br Cc: questions@freebsd.org Subject: Re: FTPD Message-ID: <20001220050424.A29449@kearneys.ca> References: <01c06926$4ad63580$2808a8c0@tec06.gnintranet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01c06926$4ad63580$2808a8c0@tec06.gnintranet.com.br>; from sac@gruponet.com.br on Mon, Dec 18, 2000 at 05:11:13PM -0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 18, 2000 at 05:11:13PM -0200, sac@gruponet.com.br wrote: > Mrs. > > How do you do for not permited access of the users for others directories, oh the others ftp's in my ftpd? > example: ftp://joao , if this user run the command cd .., he hasn't permission to access others directorios, of the others domains. > I have the file ftpchroot and your domains registred. I assume then, by "have the file ftpchroot", you mean that the file exists. In the file, should be usernames of the users which you would like chroot'd. Also, if limiting access to other users' home directories is your only concern, then you should change the permissions (using 'chmod') on the home directories to something like 700 or 711. -Brent /********************************************************* * PGP: 4E5C 7BAE F756 1994 F33D 12BC 036C 25F0 2285 4DC7 *********************************************************/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message