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

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

 



John Bray wrote:

> and in any case, no matter if it is to root or another user, the -
> guarantees you've picked up that user's entire environment.  again, it's
> the key to having consistent behavior when you are being that user, root
> or otherwise.

Could you give an example where the difference matters?
(I usually say "su -" but I'm not really sure why.
When I forget it never seems to cause any problem.)


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


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

  Powered by Linux