Re: root .bash_profile?

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





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.

Valeri

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

SU(1) FreeBSD General Commands Manual SU(1)

NAME
     su - substitute user identity

SYNOPSIS
     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
++++++++++++++++++++++++++++++++++++++++
_______________________________________________
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