[sudo-commits] sudo changeset 14889:ba9da369370e

Todd C. Miller Todd.Miller at sudo.ws
Sat Jul 15 08:52:52 MDT 2023


changeset:	14889:ba9da369370e in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ba9da369370e
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:

 MANIFEST                                          |    2 +
 plugins/sudoers/match.c                           |   10 +-
 plugins/sudoers/regress/testsudoers/test28.out.ok |  117 ++++++++++++++++++++++
 plugins/sudoers/regress/testsudoers/test28.sh     |   99 ++++++++++++++++++
 4 files changed, 226 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list