From owner-freebsd-isp@FreeBSD.ORG Wed Mar 16 18:38:38 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D4E416A4CE for ; Wed, 16 Mar 2005 18:38:38 +0000 (GMT) Received: from gumby.citytel.net (gumby.rupert.net [204.244.98.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB63B43D1F for ; Wed, 16 Mar 2005 18:38:37 +0000 (GMT) (envelope-from kwoody@citytel.net) Received: from pop.citytel.net (pop.citytel.net [204.244.98.50]) by gumby.citytel.net (Postfix) with ESMTP id E303223734F for ; Wed, 16 Mar 2005 10:38:32 -0800 (PST) Date: Wed, 16 Mar 2005 10:38:58 -0800 (PST) From: Keith Woodworth To: freebsd-isp@freebsd.org Message-ID: <20050316103222.P33592@pop.citytel.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Chroot X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 18:38:38 -0000 Playing around with ftpchroot, FBSD 4.10. I have one person that logs in to update two different virtual websites. They were only doing one before and ftpchroot'd them and it worked fine. So instead of creating a new login for them I gave them a new home dir and put in two symlinks in that home dir pointing to each website directory. Well ftpchroot locks them in and doesnt allow a cd to either of those website directories. Obviously taking them out of ftpchroot this works. Ive looked over the man pages for ftp and related config files as well as ln but do not see a way to have one person to have on login, to be ftpchroot'd, yet update two directories. Unless I do it the other way around. Instead, create two real dir's under their home directory and symlink from the document root that apache expects to the directories under their home dir. Did that make sense?