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