[CentOS] root .bash_profile?
Pete Biggs
pete at biggs.org.ukTue May 14 10:02:11 UTC 2019
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] root .bash_profile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] root .bash_profile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list