[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: User allowed commands -

Rangeen Basu wrote:
On Wed, Mar 18, 2009 at 9:49 PM, Bob Goodwin <bobgoodwin wildblue net> wrote:

ifup/down-eth0 are not valid commands.  ifdown-eth is but does not work.
 "basename: missing operand"  whatever that means?

You didn't get it quite right. Its actually ifup eth0 or ifdown eth0
(not ifup-eth0 notice the dash).

Do this as said before:
Allow the user to control the network device - add "USERCTL=yes" in
/etc/sysconfig/network-scripts/ifcfg-eth0 as documented here:

Then run ifup or ifdown with the proper interface name as argument.
Normally for wired LAN it is eth0(eth1 for a second card that might be


   Yes!  That works as user bobg.  I will probably create a script and
   a button to manipulate things.

   It is F-10 and I use XFCE ...

   Thanks for clarifying things for me ...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]