/sbin not in path in su?
Mark Haney
mark.haney at doctordirectory.com
Tue Dec 16 16:19:04 UTC 2003
I asked the same question a couple months ago. Add a '-' to the su
command i.e. 'su - ' and that will do a full su login with all the PATH
info for root.
On Tue, 16 Dec 2003 09:11:11 -0700, Mike Evans
<mike at public.arl.arizona.edu> 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.
>
> Mike
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
--
Mark Haney
Development, Systems and Network Administration
DoctorDirectory.com
http://www.doctordirectory.com
More information about the users
mailing list