Users and Groups ID
NoOp
glgxg at sbcglobal.net
Sun Jun 22 17:58:12 UTC 2008
On 06/22/2008 08:57 AM, Smoot Carl-Mitchell wrote:
> On Sun, 2008-06-22 at 11:37 -0400, Jeremy Huntwork wrote:
>> On Jun 22, 2008, at 11:12 AM, Smoot Carl-Mitchell wrote:
>> > Looks correct. Be sure to run this as root. You can do a:
>> >
>> > sudo su -
>> >
>> > to get a root shell and then do the above.
>>
>> Just a hint:
>> There's no need to have sudo call the program 'su' to get a login
>> shell for root. The following is shorter and simpler:
>>
>> sudo -i
>
> You are correct. I keep forgetting about the -i option. Earlier
> versions of sudo did not have the -i option. Old habits die hard. ;-)
Just
su
will work just fine.
More information about the ubuntu-users
mailing list