[Freeipa-users] Adding user accounts

Rob Crittenden rcritten at redhat.com
Mon Mar 28 14:02:48 UTC 2011


Sigbjorn Lie wrote:
> Thanks.
>
> I also noticed that a group with the same GID number as the users UID number is automatically
> created when creating the user account, this is a problem for existing environments who's already
> used the same ID number for a group.
>
> I see that even after doing a user-mod, changing the GID of the account, the private (invisible)
> group still exists.
>
> I'm missing an option to choose if I want to create or not create a private group for the user.

There currently isn't an option for that. You can delete a managed group 
this way:

$ ipa user-add --first=Tim --last=Test ttest

You now have a group ttest too, lets delete it.

$ ipa group-detach ttest
$ ipa group-del ttest

The first command detaches it from the user (this is not reversible) and 
the second removes it altogether.

rob

>
>
> Rgds,
> Siggi
>
>
>
>
>
>
> On Sat, March 26, 2011 18:21, Dmitri Pal wrote:
>> On 03/25/2011 03:13 PM, Sigbjorn Lie wrote:
>>
>>> Hi,
>>>
>>>
>>> Using --gidnumber when adding a new user with "ipa user-add" does not
>>> seem to have any effect. A gid number with the same value as what I specify in with the --uid
>>> parameter is chosen.
>>>
>>> I presume this is not the way user-add is intended to work?
>>>
>>
>> We will take a look.
>> https://fedorahosted.org/freeipa/ticket/1127
>>
>>
>> Looks like a bug so I filed a ticket.
>>
>>
>>
>>>
>>>
>>> # ipa user-add mysql14 --first=MySQL --last=Server
>>> --homedir=/var/lib/mysql --shell=/bin/false --uid=110 --gidnumber=3004
>>> --------------------
>>> Added user "mysql14"
>>> --------------------
>>> User login: mysql14
>>> First name: MySQL
>>> Last name: Server
>>> Full name: MySQL Server
>>> Display name: MySQL Server
>>> Initials: MS
>>> Home directory: /var/lib/mysql
>>> GECOS field: mysql14
>>> Login shell: /bin/false
>>> Kerberos principal: mysql14 at IX.NIXTRA.COM
>>> UID: 110
>>> GID: 110
>>>
>>>
>>>
>>>
>>> Regards,
>>> Siggi
>>>
>>
>>
>> --
>> Thank you,
>> Dmitri Pal
>>
>>
>> Sr. Engineering Manager IPA project,
>> Red Hat Inc.
>>
>>
>>
>> -------------------------------
>> Looking to carve out IT costs?
>> www.redhat.com/carveoutcosts/
>>
>>
>>
>> _______________________________________________
>> Freeipa-users mailing list
>> Freeipa-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-users
>>
>>
>
>
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users




More information about the Freeipa-users mailing list