Re: /sbin not in path in su?

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

 



On Tue, 2003-12-16 at 10:11, Mike Evans wrote:

> Since ifconfig is in /sbin and I was su, why wouldn't /sbin be in my 
> PATH?

Try doing "su -" (notice the hyphen included in the command) instead of
su.  su just gets you to root, but not root's environment, therefore not
root's path(s).

-- 
Mike Chambers
Madisonville, KY

"It's funny until someone gets hurt...then it's hilarious!"




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

  Powered by Linux