Re: Scripts run as a specific user.

From: Date: Thu, 19 Oct 2000 18:23:36 +0000
Subject: Re: Scripts run as a specific user.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21224@lists.php.net to get a copy of this message
The apache suExec directive will execute all CGI processes as the user you specify with the "User" directive. This is not working. Doed PHP count as CGI resources? in my httpd.conf file I have the following. <VirtualHost 208.155.248.53:80> User americalist Options FollowSymLinks Indexes ExecCGI DocumentRoot /u/www/<DOMAIN>/www ErrorDocument 404 /redirect.php ServerName <DOMAIN sorry wont give this out> ErrorLog "|/usr/local/sbin/cronolog /u/www/logs/test.americalist.com/%Y-%merror.log" CustomLog "|/ust/local/sbin/cronolog /u/www/logs/test.americalist.com/%Y-%maccess.log" combined </VirtualHost> any suggestions. ----- Original Message ----- From: Brad Handy <bhandy@jack-of-all-trades.net> To: Timothy A. DeWees <whtdrgn@mail.cannet.com> Sent: Thursday, October 19, 2000 3:55 PM Subject: RE: [PHP] Scripts run as a specific user. > There is a setting in the Apache Web Server's configuration file that can > set the UID of the process to that of the scripts owner. I don't recall > what that parameter is, but it does exist, > > Regards, > Brad Handy > > -------------------------------------------------------------------------- -- > Bradley M. Handy | Email: brad@synergysoup.com > Director of Internet Programming | Phone: (517) 371-7830 > Synergy Soup Interactive | (877) 371-7830 > 831 N. Washington Avenue | > Lansing, MI 48906 | > > -----Original Message----- > From: Timothy A. DeWees [mailto:whtdrgn@mail.cannet.com] > Sent: Thursday, October 19, 2000 9:44 AM > To: php-general@lists.php.net > Subject: [PHP] Scripts run as a specific user. > > Hello, > > Is there any way for me to run a PHP script as a specified user, or as > the user who owns the script. If you have a solution for me can you please > reply to this email address whtdrgn@cannet.com (I am not on the list). > Thanks in advanced, and good luck. > > > -- > Kind Regards, > Timothy A. DeWees >

« previous php.general (#21224) next »