Re: /sbin not in path in su?

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

 



On Tue, 16 Dec 2003, Mike Evans wrote:

> Since ifconfig is in /sbin and I was su, why wouldn't /sbin be in my 
> PATH?  I'm not only confused about that, but how to remedy the 
> situation.  Thanks for the help.

To get the login environment for root, do 'su -'. Plain 'su' keeps the 
existing environment from your user account.

-- Elliot
http://www.barbiecollectibles.com/shop/product.aspx?sku=B3449
One ring to rule the malls, a website to supply them. The Tolkien "Ken
and Barbie" dolls - now 60 bucks can buy them!




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

  Powered by Linux