Re: Giving my script the power!

From: Date: Thu, 29 Mar 2001 21:27:41 +0000
Subject: Re: Giving my script the power!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46161@lists.php.net to get a copy of this message
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 sroy@galeasec.com 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#46161) next »