root password

Derek Broughton news at
Wed Aug 22 14:37:52 UTC 2007

Shawn McCuan wrote:

> Whats the difference between sudo -i, and just doing a "sudo su"? (This is
> a stupid question that I'm only asking because Im not at my ubuntu box.)

Essentially, the difference is the environment variables.  You can either
try both and compare the difference between outputs of "export" or "env" or
just read the man pages, but it's easier to wrap your head around the
actual output. :-)

More information about the ubuntu-users mailing list