From owner-freebsd-bugs Thu Mar 27 22:18:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA22707 for bugs-outgoing; Thu, 27 Mar 1997 22:18:59 -0800 (PST) Received: from main.gbdata.com (USR2-1.detnet.com [207.113.12.31]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA22685; Thu, 27 Mar 1997 22:18:52 -0800 (PST) Received: (from gclarkii@localhost) by main.gbdata.com (8.8.5/8.8.5) id AAA11018; Fri, 28 Mar 1997 00:18:05 -0600 (CST) From: Gary Clark II Message-Id: <199703280618.AAA11018@main.gbdata.com> Subject: Re: SetUID & Apache in 2.2-RELEASE... To: cschuber@uumail.gov.bc.ca Date: Fri, 28 Mar 1997 00:18:04 -0600 (CST) Cc: alexv@sui.gda.itesm.mx, freebsd-bugs@freebsd.org, freebsd-security@freebsd.org, cmercado@interface.com.mx, cschuber@uumail.gov.bc.ca In-Reply-To: <199703280510.VAA00762@cwsys.cwent.com> from Cy Schubert at "Mar 27, 97 09:10:30 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Cy Schubert wrote: > > I used to have some setuids CGIs running with my 2.1.5 fbsdbox, and > > them executed pretty well with Apache 1.1.1 & Perl 5.002. > > > > Now, I upgraded to 2.2-RELEASE, Apache 1.2b7 & Perl 5.003, and none of > > the setuids cgis run (being executed by anybody but root). When I > > remove from them the setuid flag, they can be executed (but I need to > > execute them as setuids). Any Ideas? Thanx in advance... > > This is a Perl problem. I've encountered this with other Perl (5.003) > scripts before, though I don't know what the solution is yet. > The problem is that the port does not setup perl to do suid scripts. You have to enable this in the configure script. > > Cy Schubert Fax: (250)387-5766 Gary -- Gary Clark II (N5VMF) | I speak only for myself and "maybe" my company gclarkii@GBData.COM | Member of the FreeBSD Doc Team Providing Internet and ISP startups - http://WWW.GBData.com for information FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/FAQ.latin1