[CentOS] root .bash_profile?

Tue May 14 14:13:43 UTC 2019
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On 2019-05-14 07:14, Jonathan Billings wrote:
> On Tue, May 14, 2019 at 07:45:55AM -0400, Bee.Lists wrote:
>> I addressed this in the thread.
> And we continue to tell you that you're wrong.  su behaves the same
> way when switching to any other user as it does for root.  Stop
> spreading misinformation.

Sorry, Jonathan, that I replying _your_ message, my reply has nothing to 
do with it of any of your other posts, but rather with some posts by 
some other posters. I really have to say this:

This whole thread - some posts in it that is - reminds me the old truth: 
RTFM. Namely, Read The F.. (damn) Manual!

It is really hard to help those who don't care to read the man page. No 
matter how many times you repeat that su stands for "substitute user", 
and that the command as usually may have various options, and "-" is one 
of these options, and what is the difference between invoking command 
with or without it.

I would suggest that continuing this thread is counter-productive.


PS pasting excerpt from "man su" on my FreeBSD workstation:

SU(1)                   FreeBSD General Commands Manual 

      su - substitute user identity

      su [-] [-c class] [-flms] [login [args]]


      -l      Simulate a full login.  ...

      -       (no letter) The same as -l.

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247