HomePhorge

(#12458) default to users primary group, not root, in `asuser`
50909b93dc01Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12458) default to users primary group, not root, in asuser

When only a user (no group) was given to the asuser method, the egid wouldn't
be changed and would remain the privileged gid. This has been changed to the
primary gid of the user.

Fix and analysis by Dominic Cleal <dcleal@redhat.com>

Contributed: Daniel Pittman <daniel@puppetlabs.com>
Contributed: Deepak Giridharagopal <deepak@puppetlabs.com>
Contributed: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Feb 13 2012, 8:52 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd00c5cc45e3c: (#12457) add users primary group, not Process.gid, in initgroups
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU50909b93dc01: (#12458) default to users primary group, not root, in `asuser` (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 13 2012, 8:52 PM