What to do when a command isn't found?

Matthew Miller mattdm at mattdm.org
Thu Jul 6 20:02:21 UTC 2006


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.


-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-list mailing list