What to do when a command isn't found?
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Thu Jul 6 20:14:56 UTC 2006
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!
More information about the fedora-list
mailing list