From owner-freebsd-questions Mon May 7 9:13:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id 5299037B423 for ; Mon, 7 May 2001 09:13:43 -0700 (PDT) (envelope-from webmaster@wmptl.com) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id MAA47805; Mon, 7 May 2001 12:17:13 -0400 (EDT) (envelope-from webmaster@wmptl.com) Message-ID: <3AF6C867.675A4FD@wmptl.com> Date: Mon, 07 May 2001 12:08:07 -0400 From: Nathan Vidican X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Walter Betancourt Cc: questions@freebsd.org Subject: Re: restricting ftp access References: <4.2.2.20010507115416.00b6a320@pop3.palace.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Walter Betancourt wrote: > > Does anyone know how to restrict ftp access for a virtual host to only > their directories > > besides using /etc/ftpchroot ? > > I have a sub-domain virtual host that if I put in ftpchroot it restricts > total access, > > dont know why, but is there another methos to restrict access by ftp. > > thanks > > Walt > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message man chmod, man chown You can change the permissions structure so as not to allow a user to exit a directory. For example: user is logged into /home/users/someuser, they can cd to /home/users, but not down to /home; and therefore not to anything below /home (eg: /etc). Nathan Vidican nathan@vidican.com / webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://home.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message