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@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to