Hardening new ubuntu installation

Brian McKee brian.mckee at gmail.com
Wed May 20 00:46:49 UTC 2009


On Tue, 2009-05-19 at 14:39 +0100, Tim Ferguson wrote:
> This was written by Sean Carolan, on 19/05/09 14:03:
> > If you must have a root shell for some task,
> > just run "sudo /bin/su - root".
>  How is that better (or different) 
> from "sudo -i"?

Use sudo -i unless you have a specific reason to do otherwise.
It is the preferred method mentioned in the man page for example.

I used to do sudo su - 
which is really the same thing that Sean suggested, but have been
converted (Do you hear derek laughing? :-)

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090519/513862cf/attachment.sig>


More information about the ubuntu-users mailing list