Re: Something involving php, but not windows.
| From: | Ray Hunter | Date: | Mon, 15 Apr 2002 17:51:33 +0000 |
| Subject: | Re: Something involving php, but not windows. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13104@lists.php.net to get a copy of this message | ||
You can run the script as a shell script and have it run as the root user.
You might want to change the permissions and allow it to change id as it
runs; however, this is a great security risk...
Ray Hunter
"Michael Reynolds" <wshs_chat@yahoo.com> wrote in message
news:20020414210542.14426.qmail@web11603.mail.yahoo.com...
> I know this is the windows list, but for 1 question, I don't
> feel the need to subscribe to the other lists. Would anyone
> be able to tell me how to run a single php script as root,
> but apache still run as a non-wheel user? Trying to do this
> on FreeBSD 4.5-STABLE, but it isn't working for me. Need
> the page to run as root, in order to directly modify the
> master.passwd file.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/