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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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/



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to