httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
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 <tuan_quan@yahoo.com> 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
place.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message