[sudo-commits] sudo changeset 11597:c43fedc19a01

Todd C. Miller Todd.Miller at sudo.ws
Sat Oct 27 06:39:23 MDT 2018


changeset:	11597:c43fedc19a01 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/c43fedc19a01
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Oct 27 06:37:34 2018 -0600

Log Message:
	Allow the group set by "sudo -g" to be any of the target user's groups.
	Previously, this was only allowed if the group matched the target
	user's primary group ID (from the passwd database entry).
	The sudoers policy will now allow the group if it is one of the
	target user's supplemental groups as well.

diffstat:

 plugins/sudoers/match.c     |  33 ++++++++++++++++++++++++++++++++-
 plugins/sudoers/parse.h     |   1 +
 plugins/sudoers/set_perms.c |  12 ++----------
 3 files changed, 35 insertions(+), 11 deletions(-)


More information about the sudo-commits mailing list