On Tue, 14 May 2019, 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.

You misunderstand.  su behaves the same when switching to root as to any other 
account.

su -

is probably the command you're looking for.

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

Reply via email to