root password

Adam Funk a24061 at
Wed Aug 22 10:35:43 UTC 2007

On 2007-08-21, Derek Broughton wrote:

>> Looking at man su, I don't see a -i option --- was that a typo for -l
>> and is that what's so funny?
> Precisely.  Someone recommended the OP do "sudo su -i" - but that won't
> work, because -i is a sudo option, not a su option.
> "sudo -i" is the "proper" way to get a root login.

(Looking at man sudo again) I see.  Is it fair to say that `sudo -s`
is the sudo-equivalent (so to speak) of `su`, whereas `sudo -i` is the
sudo-equivalent of `su -`?

More information about the ubuntu-users mailing list