From owner-freebsd-questions Fri Aug 28 10:22:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19730 for freebsd-questions-outgoing; Fri, 28 Aug 1998 10:22:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19720 for ; Fri, 28 Aug 1998 10:22:07 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id KAA08158; Fri, 28 Aug 1998 10:20:18 -0700 (PDT) (envelope-from dhw) Date: Fri, 28 Aug 1998 10:20:18 -0700 (PDT) From: David Wolfskill Message-Id: <199808281720.KAA08158@pau-amma.whistle.com> To: randyk@ccsales.com Subject: Re: FTP/Web Directory permissions Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19980828093446.50240@ccsales.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Fri, 28 Aug 1998 09:34:46 -0700 >From: randyk >I have multiple users/httpd processes on one box with a directory structure: >/usr/www/usernam1/httpd/htdocs (DocumentRoot) >/usr/www/usernam2/httpd/htdocs (DocumentRoot) >The accounts (usernam1, usernam2) can FTP and telnet into the system. They can >also romp around anywhere else they please and look at stuff. >Is there a way to limit these FTP users to only be allowed into their own >directory space? A way to do this is to use wu-ftpd, and set up the "home directory" part of the passwd entry to have a trailing "/." in it. It's possible that other ftpd implementations do this (or accomplish a similar objective in a different way), as well. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message