From owner-freebsd-questions Wed Sep 6 18:57:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.idx.com.au (pop.idx.com.au [203.14.30.10]) by hub.freebsd.org (Postfix) with ESMTP id 07D8D37B424 for ; Wed, 6 Sep 2000 18:57:15 -0700 (PDT) Received: from freebsd.freebsd.org (idxwc07-02.idx.com.au [203.166.2.2]) by pop.idx.com.au (8.9.3/8.9.3) with SMTP id MAA01828; Thu, 7 Sep 2000 12:57:02 +1100 From: Danny To: "Simakin Alexandr" , "Simakin Alexandr" , freebsd-questions@FreeBSD.ORG Subject: Re: Date: Thu, 7 Sep 2000 23:05:53 +1100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <00090723073302.00334@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cgiwrap allows users to run cgi's under there home directory without a need to create privilages to /usr/local/apache/cgi-bin etc etc So a user can add there cgi's in /home/dannyh/public_html/cgi-bin/ Do a search on cgiwrap or maybe look in www.freebsd.org/ports/ On Tue, 05 Sep 2000, Simakin Alexandr wrote: > Hello! > > When I use /etc/ftpchroot file, I can restrict users access only to > his home directory. Users can read and write files only in his > home directory. > So I need the same thing with users perl cgi-scripts on FreeBSD/Apache. > I want users to run cgi-scripts (I know, how to do this) > but I don't want to allow them to read and write to other directories > out of his home directory. > Does anybody knows how to do it? > > I don't want my server to be like this freehosting www.virtualave.net > You may look at this hole: > http://webator.virtualave.net/cgi-bin/dir.pl?dir=/ > there CD - change dir, RD - read file. > Thank you. > > Alex Simakin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message