Re: User allowed commands -

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

 



Rangeen Basu wrote:
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

   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 ...

   Bob



--
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux