Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 10:20:18 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        randyk@ccsales.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FTP/Web Directory permissions
Message-ID:  <199808281720.KAA08158@pau-amma.whistle.com>
In-Reply-To: <19980828093446.50240@ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Fri, 28 Aug 1998 09:34:46 -0700
>From: randyk <randyk@ccsales.com>

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808281720.KAA08158>