Hi,

I'm doing the exact same thing as you and I got the exact same problem. After
getting almost crazy with trying everything possible to run a script as root,
someone told me that I'm limited to the server permission. So I decided to
simply create a java deamon wich run as root. This deamon wait on a port for
commands (encrypted) to be executed.via fsockopen(...).  Surprisly, it was
easy and it work prety well...

Hope it helps

Sebastien Roy
[EMAIL PROTECTED]


Brandon Orther wrote:

> Hello,
>
> I am trying to make a script that can add users and multiple things to a
> linux box.  I have all teh programming issues solved except I need to make
> this script root, or make it able to run anyhting it want to.  Is there a
> way to make my php script liek a super user?
>
> INFO: Redhat 7 Apache1.?
>
> Thanks
> Brandon Orther
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to