[sudo-commits] sudo changeset 14895:164428126ee6

Todd C. Miller Todd.Miller at sudo.ws
Sun Jul 16 14:14:15 MDT 2023


changeset:	14895:164428126ee6 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/164428126ee6
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Jul 15 08:44:57 2023 -0600

Log Message:
	runas_userlist_matches: fix matching a Runas_Spec with an empty runas user.

	We should only match a rule with an empty runas user if a group was
	specified on the command line (sudo -g) without a user (no -u option)
	or the user specified their own name on the command line.
	GitHub issue #290

diffstat:

 plugins/sudoers/match.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list