On Sunday 28 February 2010 23:27:57 William Hubbs wrote:
> > 7 years ago a veteran Linux user taught me to always use su - for the
> > very reason you stated.
> 
>  
>  Actually, you are safe with either "su -" (without sudo) or "sudo -i".
>  "sudo su -" is chaining "su -" on top of sudo, and is redundant because
>  "sudo -i" and "su -" do the same thing afaik.

"sudo su" and "su" have a fundamental difference, vital in corporate networks:

The former uses the user's password for authentication and sudoers for 
authorization. The latter uses knowledge of the root password for 
authorization and authentication. See my other post in this thread.

On the work servers I enforce "sudo su"

OTOH, "sudo su" is indeed pretty pointless on a single-user machine. I never 
bother with sudo on this gentoo notebook for instance.

-- 
alan dot mckinnon at gmail dot com

Reply via email to