/sbin not in path in su?
Mihai Maties
mihai at xcyb.org
Tue Dec 16 16:20:13 UTC 2003
On Tuesday 16 December 2003 18:11, Mike Evans wrote:
> Sorry if this has been covered... I'm new to the list and the search
> function in the archives is non-op. After a brand new install of Fedora
> Core 1 on my Thinkpad R40, I was trying to compile some drivers and
> noticed that all the errors and warnings that cropped up were related to
> the script not being able to find "ifconfig"
>
> 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.
Instead of just "su" issue a "su -" command in order to run the startup
scripts that properly set your environment variables.
Mihai
More information about the fedora-list
mailing list