Re: redhat/fedora distros: su versus su -

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

 



Chitlesh GOORAH wrote:
> Hello here,
> Last time at LinuxTag Wiesbaden, someone asked me why in RedHat/Fedora
> distros,
> /sbin is not in the PATH for _su_
> example ifconfig
> but as _su -_, /sbin is in the PATH?
As I understand it, "su" merely grants you root priveleges (changes your
effective user/group IDs), while "su -" grants you a full login shell as the
root user (hence the profile/environment changes).


> He also pointed out that in other distros like Mandriva and Suse it is
> not the case.
I'm not certain, but 'su' might be aliased to 'su -' or something similar
(perhaps for "user-friendliness"?)

-- 
Peter Gordon (codergeek42)
This message was sent through a webmail
    interface, and thus not signed.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux