root PATH missing /sbin and /usr/sbin

James Cameron quozl at us.netrek.org
Fri Apr 27 02:58:22 EDT 2007


On Thu, Apr 26, 2007 at 10:28:30PM -0700, Javier Cardona wrote:
> David,
> 
> > I am in the Developer console.....
> >
> > iwconfig: command not found
> > ifconfig: command not found
> 
> But for now, can you try to login as root first and provide the full
> path to iwconfig?
> $ su -
> # /sbin/iwconfig

Is there any good reason why we don't have /usr/sbin and /sbin in PATH?

On Debian and Ubuntu systems I don't get this problem.  When I su to
root PATH is sane.  On OLPC and Fedora systems this doesn't work.

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/



More information about the Devel mailing list