Users and Groups ID

Chris Rees utisoft at googlemail.com
Sun Jun 22 18:12:43 UTC 2008


> From: NoOp <glgxg at sbcglobal.net> wrote:
> Subject: Re: Users and Groups ID
> To: ubuntu-users at lists.ubuntu.com
> Message-ID: <g3m3rk$cqu$2 at ger.gmane.org>
> Content-Type: text/plain; charset=UTF-8
>
> 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.
>

Not when the first line of /etc/shadow reads:

root:!:13930:0:99999:7:::

su requires a password; by default Ubuntu has the password 'starred'
(or banged as it appears :S)

Chris




More information about the ubuntu-users mailing list