From: Todd C. Miller Date: Thu, 19 Jan 2012 16:08:45 +0000 (-0500) Subject: For "sudo -g" prepend the specified group ID to the beginning of X-Git-Tag: SUDO_1_8_4~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=265c1438a4329f398e1779d0d3c2375a74a424dd;p=sudo For "sudo -g" prepend the specified group ID to the beginning of the groups list. This matches BSD convention where the effective gid is the first entry in the group list. This is required on newer FreeBSD where the effective gid is not tracked separately and thus setgroups() changes the egid if this convention is not followed. Fixes bug #532 --HG-- branch : 1.8 --- 265c1438a4329f398e1779d0d3c2375a74a424dd