/sbin:/usr/sbin in mortal's PATH

Bruno Wolff III bruno at wolff.to
Tue May 9 15:37:42 UTC 2006


On Tue, May 09, 2006 at 09:05:28 -0600,
  "Lamont R. Peterson" <lamont at gurulabs.com> wrote:
> 
> The "only" reason most people get into the bad practice of (sometimes?) 
> running "su" instead of "su -" (like they should *always* do unless they 
> _really_ know what they are doing, and even then...), is because of the new 
> shell's pwd being the new user's home directory.  That's easy to fix, though.  

People also like to run in a familiar environment. If you have root and your
account set up differently, this makes it easier to make mistakes. If there
are several people who have root access, su - only gives you one environment
when there is demand for more than one environment.




More information about the fedora-devel-list mailing list