[CentOS] root .bash_profile?

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


On 2019-05-14 09:07, Bee.Lists wrote:
> 
>> On May 14, 2019, at 8:14 AM, Jonathan Billings <billings at negate.org> 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.
> 
> Not big on reading what I put.  It’s all there.  Regardless how often you say ‘su’ is the same as ‘su fred’, it is not.  Stop spreading misinformation.
> 

Look, in the following four command lines executed in the shell:

su

su fred

su - fred

su -l fred

- in all four of them:

"su" is a command

"fred" is an argument (wherever it is present)

"-" (surrounded by spaces on both sides) and "-l" are command options

This is standard terminology used in UNIX, Linux, etc for several 
decades. And finally, RTFM, please.

And also, can we close this thread, please.

Valeri

> 
> Cheers, Bee
> 
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

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