Enhancement #1692
Feature #1660: Migrate NethService to NethServer
Low gid for builtin groups
| Status: | CLOSED | Start date: | 02/28/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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
Associated revisions
group-create-unix action: "unless" statement replaced by "if". Refs #1692
{user,group}-create-unix actions: Uid/Gid prop handling assumptions. Refs #1692
{user,group}-create-unix actions: fixed license header. Refs #1692
user-create-unix action: "unless" statement replaced by "if". Refs #1692
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