Re: root .bash_profile?

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



On Tue, 2019-05-14 at 04:50 -0400, Bee.Lists wrote:
> su does not load .bash_profile and therefore is a completely
> different application than with any other user.  This one is
> different, considering .bash_profile is indeed used for logins for
> other users.  

su is an application for switching from one user to another. It behaves
the same way whether you are switching from user A to user B, or to
user root.

su is NOT the same as logging in with that user ID.  If you login as
root at the console, root's .bash_profile would be read.

P.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux