bareos2015: master bd050a99

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen master 2015-01-21 14:38 master 7ce40570 Pending
Changeset Fix removing of supplemental groups.

Need some coding as usermod -a doesn't work on all platforms.
We now figure out if we are creating a user from scratch e.g.
its doesn't exist at all or need to update it. For that we look
at all groups the user currently is in and add the wanted groups
if they are missing. This should work on all platforms as we
script around and only use options available on all platforms.
When we use usermod -G we supply the full list groups including
any specific groups added by the sysadmin.

Fixes 0000382: Don't remove supplemental groups on install.
mod - scripts/bareos-config-lib.sh.in Diff File