Ubuntu Root Passwork Gotcha?

John Nilsson john at milsson.nu
Thu Jul 28 11:57:41 UTC 2005


On tor, 2005-07-28 at 07:45 +0200, Dennis Kaarsemaker wrote:
> That is a *very bad* idea. To get a proper root console you should use
> sudo -i
> 
> sudo does not reset a number of important environment variables, unless
> the -i flag is used.

Is `sudo -i` the same as running `sudo su -`? 

/John





More information about the ubuntu-users mailing list