Re: What to do when a command isn't found?

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

 



Matthew Miller wrote:
> On Thu, Jul 06, 2006 at 12:53:28PM -0700, Al Sparks wrote:
>> I tried to execute
>>    ifconfig eth0 down
>> on my system as non-root, and got permission denied.
> 
> Try adding
> 
> USERCTL=yes 
> 
> to
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0
> 
> (One of several arguments for moving ifconfig to /bin.)
> 
> 
> But yeah, having programs in sbin isn't a security thing. It's an
> organizational thing.
> 
> 
I didn't know that this would work with ifconfig. I know if works
with /sbin/ifup eth0 and /sbin/ifdown eth0. But I didn't think that
ifconfig worked with the network scripts.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


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

  Powered by Linux