Do not assign supplementary groups 50/186450/3
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 9 Aug 2018 10:45:01 +0000 (12:45 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 24 Aug 2018 06:36:33 +0000 (08:36 +0200)
commit278c288f95e2612d4691c316969233996ef84444
tree1c04f07015212a00502a6dac47bad9f6b05c782c
parent27a6599caacd7c1d8e46a8647df0c598a0d5da1b
Do not assign supplementary groups

Due to splitting password and group database to read-only db (standard
/etc/) and read-writable (/opt/etc/) it might no longer be possible to
add newly created users to system groups.  Precisely, adding user to
system given group requires appending user name to /etc/group, which
is on read only partition.  It's not possible to add such entry to
/opt/etc/group because it would not only require group name (and id)
duplication, but also it would require changing all the supporting
code to look for multiple group definitions.

To handle above problem gumd will no longer assign group membership at
user creation.  It will also use standard /etc/group (and gshadow).

Assiging users to correct groups will be handled by security-manager
nss plugin.

Change-Id: I86af2d41f07f13f0d0e6904cfb7b45fe84594ea7
data/tizen/etc/gumd/gumd-tizen-common.conf
data/tizen/etc/gumd/gumd-tizen-ivi.conf