[CentOS] root .bash_profile?

Tue May 14 09:10:22 UTC 2019
John Hodrien <J.H.Hodrien at leeds.ac.uk>

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