Re: /sbin not in path in su?

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

 



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@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



-- Mark Haney Development, Systems and Network Administration DoctorDirectory.com http://www.doctordirectory.com




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

  Powered by Linux