root password
Shawn McCuan
smccuan at gmail.com
Wed Aug 22 11:11:29 UTC 2007
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.)
----- Original Message -----
From: "Adam Funk" <a24061 at ducksburg.com>
To: <ubuntu-users at lists.ubuntu.com>
Sent: Wednesday, August 22, 2007 6:35 AM
Subject: Re: root password
> 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 -`?
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list