Re: root .bash_profile?

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



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@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