Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 1997 08:55:08 -0800
From:      Cy Schubert <cy@cwsys.cwent.com>
To:        Gary Clark II <gclarkii@main.gbdata.com>
Cc:        cschuber@uumail.gov.bc.ca, alexv@sui.gda.itesm.mx, freebsd-bugs@freebsd.org, freebsd-security@freebsd.org, cmercado@interface.com.mx
Subject:   Re: SetUID & Apache in 2.2-RELEASE... 
Message-ID:  <199703281655.IAA06347@cwsys.cwent.com>
In-Reply-To: Your message of "Fri, 28 Mar 1997 00:18:04 CST." <199703280618.AAA11018@main.gbdata.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

The FreeBSD Perl 5.003 port does turn on the setuid emulation, however it
still doesn't work.

> 
> > 
> > Cy Schubert                      Fax:  (250)387-5766
> 
> Gary


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
UNIX Support                   OV/VM:  BCSC02(CSCHUBER)
ITSD                          BITNET:  CSCHUBER@BCSC02.BITNET
Government of BC            Internet:  cschuber@uumail.gov.bc.ca
                                       cschuber@bcsc02.gov.bc.ca

                "Quit spooling around, JES do it."



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