httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] sticky bit , apache 1.x and apache 2.x
Date Fri, 25 Feb 2005 00:03:20 GMT
On Thu, 24 Feb 2005 08:51:57 -0800 (PST), Tuan Quan <> wrote:
> I am running Apache 2.0.52 on Solaris 9.
> I like to run a cgi program, but with root permission (the httpd first
> starts as root, but then run all httpds as www user)
> I tried to chmod u+s  mycgi       (the name of my cgi program)
> make it owned by root.
> but the cgi did not run as root.

Very dangerous stuff you're fooling around with.  I hope you know what
you are doing.

Have you tried running the cgi from the command line under the www
user?  Does it switch to root?  There may be an OS restriction in


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

View raw message