[sudo-commits] sudo changeset 6935:942e1e7c5090

Todd C. Miller Todd.Miller at courtesan.com
Mon May 23 14:06:28 EDT 2011


changeset:	6935:942e1e7c5090 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/942e1e7c5090
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon May 23 14:06:17 2011 -0400

Log Message:
	If the user specifies a runas group via sudo's -g option that matches
	the runas user's group in the passwd database and that group is not
	denied in the Runas_Spec, allow it.  Thus, if user root's gid in
	/etc/passwd is 0, then "sudo -u root -g root id" is allow even if
	no groups are present in the Runas_Spec.

diffstat:

 plugins/sudoers/match.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)



More information about the sudo-commits mailing list