On 12/06/14 02:20, James Knott wrote:
On 06/11/2014 11:56 AM, Carlos E. R. wrote:
No, sudo and "su -" have important differences in the environment they set or pass on. Sudo keeps part of the calling user environment, and erases some vars. On the other hand, "su -" sets the full "root" default environment. "Su -" is the full root environment. "Su" is just root privilege in the user environment. I will use either, depending on what I'm doing.
Hold onthere for a moment :-) . What exactly is the difference in what you just stated above re "su -" and '"su" is just root privilege in the user environment"'? If you are 'root' why would you want to use "su -" anyway? I have found that in openSUSE when one uses "su -" - or even "su" - you are asked for the root's password and you can do whatever root is able to do with the system. As well, when you use "sudo <command>" you are asked for the *root's* password; whereas in something like Ubuntu you are simply asked for your *user* login password - but you *cannot* do everything which root can do. What am I misunderstanding in this discussion? BC -- Over the years you've helped raise awareness of a number of issues but the main one has been what a pain in the arse you are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org