/sbin not in path in su?
sopwith at redhat.com
Tue Dec 16 16:18:38 UTC 2003
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.
One ring to rule the malls, a website to supply them. The Tolkien "Ken
and Barbie" dolls - now 60 bucks can buy them!
More information about the users