RE: Why use "su -" rather than "su"

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

 



At 1:42 AM -0500 7/18/05, Jeff Vian wrote:
 ...
>Look in /etc/profile.  That is where the default path is munged and the
>sbin directories are added for root and the /usr/X11R6/bin is added for
>all users.  The sequence there puts /usr/local/sbin as the first in the
>path for root.
>
>This is not the only place PATH is set, but I can't find the rest of it
>right now except for $HOME/.bash_profile

I'm pretty sure from my reading that this isn't it.  Note that pathmunge()
would put all the "sbin"s next to each other at the front of the path.  Not
that I've run it under a debugger yet.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


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

  Powered by Linux