Enhancement #1692

Feature #1660: Migrate NethService to NethServer

Low gid for builtin groups

Added by Davide Principi over 8 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:02/28/2013
Priority:NormalDue date:02/28/2013
Assignee:-% Done:

100%

Category:nethserver-directory
Target version:v6.4-alpha2
Resolution: NEEDINFO:

Description

At installation time, some packages (eg nethserver-ejabberd, nethserver-samba) create a predefined group to grant special privileges to group members.

To avoid a possible gid clash during migrate-import event the allocated gid must be out of the ordinary account range (more than 5000).


Related issues

Related to NethServer 6 - Enhancement #1679: Hylafax: create pseudonym for faxmaster group CLOSED 03/15/2013 03/15/2013

Associated revisions

Revision f6530d7f
Added by Davide Principi over 8 years ago

group-create-unix action: "unless" statement replaced by "if". Refs #1692

Revision 563c01d5
Added by Davide Principi over 8 years ago

{user,group}-create-unix actions: Uid/Gid prop handling assumptions. Refs #1692

Revision 58b40b22
Added by Davide Principi over 8 years ago

{user,group}-create-unix actions: fixed license header. Refs #1692

Revision 6a71e03d
Added by Davide Principi over 8 years ago

user-create-unix action: "unless" statement replaced by "if". Refs #1692

Revision 10cc4e70
Added by Davide Principi over 8 years ago

group-create-unix action: honour Builtin and Removable props, using libuser id sequence if they are set. Refs #1692

History

#1 Updated by Davide Principi over 8 years ago

  • Due date set to 02/28/2013
  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • Start date set to 02/28/2013
  • % Done changed from 0 to 20

#2 Updated by Davide Principi over 8 years ago

If any of Removable=no or Builtin=yes prop is present a "builtin" group is generated by group-create-unix action.

The gid for the builtin group is allocated by the underlying libuser, as configured in /etc/login.defs.

Standard groups still receive the gid from AccountsDB::get_next_uid sequence.

builtin1=group
    Description=BuiltinGroup1
    Members=user01,user02
    Removable=no

builtin2=group
    Builtin=yes
    Description=BuiltinGroup2
    Members=user01,user02

#3 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 20 to 100

#4 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#5 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

Also available in: Atom PDF