Author Login
Post Reply
> From: NoOp <glgxg@(protected):
> Subject: Re: Users and Groups ID
> To: ubuntu-users@(protected)
> Message-ID: <g3m3rk$cqu$2@(protected)>
> 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
--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users