Re: [users@httpd] sticky bit , apache 1.x and apache 2.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Feb 2005 08:51:57 -0800 (PST), Tuan Quan <tuan_quan@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux