[sudo-commits] sudo changeset 14099:e2d756137ce9

Todd C. Miller Todd.Miller at sudo.ws
Thu Jul 7 20:20:17 MDT 2022


changeset:	14099:e2d756137ce9 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/e2d756137ce9
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jul 07 20:11:44 2022 -0600

Log Message:
	Fix a NOPASSWD issue with a non-existent command when fdexec=always
	In command_matches_all(), if the command is fully-qualified and
	open_cmnd() return false, only treat it as an error if we are able
	to stat(2) the command.  For "sudo ALL" a non-existent command is
	not an error.

diffstat:

 plugins/sudoers/match_command.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list