[sudo-commits] sudo changeset 7180:fafe67fa39c1
Todd C. Miller
Todd.Miller at courtesan.com
Sat Aug 13 14:43:58 EDT 2011
changeset: 7180:fafe67fa39c1 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/fafe67fa39c1
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Sat Aug 13 14:43:43 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:
match.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
More information about the sudo-commits
mailing list