HomePhorge

(#12459) drop supplementary groups when permanently dropping UID
db0f8720dea1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12459) drop supplementary groups when permanently dropping UID

On certain platforms, Process::UID.change_privilege doesn't handle
changing supplementary groups. In that case, we need to always
explicitly initgroups, regardless of whether we're using
change_privilege, or change_group/change_user.

Analysis by Dominic Cleal <dcleal@redhat.com>

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Matthaus Litteken <matthaus@puppetlabs.com>Committed on Feb 20 2012, 8:55 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7f26d2830a6c: (#12458) default to users primary group, not root, in `asuser`
Branches
Unknown
Tags
Unknown

Event Timeline

Matthaus Litteken <matthaus@puppetlabs.com> committed rPUdb0f8720dea1: (#12459) drop supplementary groups when permanently dropping UID (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 20 2012, 8:55 PM