[sudo-commits] sudo changeset 6934:e3f9732dc564

Todd C. Miller Todd.Miller at courtesan.com
Mon May 23 14:01:55 EDT 2011

changeset:	6934:e3f9732dc564 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e3f9732dc564
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon May 23 14:00:54 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.


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

More information about the sudo-commits mailing list