httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Gibson <>
Subject Re: running a cgi script as root
Date Fri, 01 Feb 2002 12:27:07 GMT
Thank you very much for the suggestion!

jon schatz wrote:
> On Thu, 2002-01-31 at 15:12, Brian Gibson wrote:
> > Is there any way I can get this script to run as the user root?
> write a setuid wrapper in c. i believe there's an example of this in the
> perl cookbook. languages with a #! line can't be run setuid in many
> unixes. there's a detailed explanation of why this is in the camel book
> somewhere (has to do with the interpreter changing in between the time
> the script is called and the interpreter is executed iirc).
> -jon
> --
> ||
> gpg key:
> think i have a virus?:
> "You are in a twisty little maze of Sendmail rules, all confusing."
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: PGP Armored File (application/x-unknown-content-type-PGP
Armored File)
>                 Description: This is a digitally signed message part

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message