By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,994 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,994 IT Pros & Developers. It's quick & easy.

running exec as root?

P: n/a
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.
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
*** 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
--
Jul 17 '05 #2

P: n/a
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.
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.