Re: User allowed commands -

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

 



On Wed, Mar 18, 2009 at 9:49 PM, Bob Goodwin <bobgoodwin@xxxxxxxxxxxx> 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:
http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-networkscripts-interfaces.html

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
present)

Regards
-- 
Rangeen Basu Roy Chowdhury
Fedora Ambassador
sherry151@xxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux