This is a discussion on running exec as root? within the PHP Language forums, part of the PHP Programming Forums category; Hello exec('/sbin/ifdown eth0'); does not work, due to needing to be run as root. I need to have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello
exec('/sbin/ifdown eth0'); does not work, due to needing to be run as root. I need to have this work on a closed network environment. any ideas, suggestions, rants, or raves ? TFTH -- Ron Chaplin =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= T73 Software & Design www.t73-softdesign.com To provide custom and quality software, designs and services, to our customers, at an affordable rate, with minimal delay. |
|
|||
|
*** Ronald Chaplin escribió/wrote (Wed, 12 Jan 2005 13:18:48 -0600):
> does not work, due to needing to be run as root. > I need to have this work on a closed network environment. > any ideas, suggestions, rants, or raves ? Keyword: sudo Good luck -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Las dudas informáticas recibidas por correo irán directas a la papelera -+ I'm not a free help desk, please don't e-mail me your questions -- |
|
|||
|
Alvaro G. Vicario wrote:
> *** Ronald Chaplin escribió/wrote (Wed, 12 Jan 2005 13:18:48 -0600): > >>does not work, due to needing to be run as root. >>I need to have this work on a closed network environment. >>any ideas, suggestions, rants, or raves ? > > > Keyword: sudo > > Good luck > > TFTH, I forgot about sudo. So many commands, so little memory left :p -- Ron Chaplin =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= T73 Software & Design www.t73-softdesign.com To provide custom and quality software, designs and services, to our customers, at an affordable rate, with minimal delay. |