[sudo-commits] sudo changeset 7684:5050708c2579

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 19 11:08:53 EST 2012


changeset:	7684:5050708c2579 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/5050708c2579
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 19 11:08:45 2012 -0500

Log Message:
	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

diffstat:

 plugins/sudoers/sudoers.c |  24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list