[sudo-commits] sudo changeset 14806:e79eddc35325

Todd C. Miller Todd.Miller at sudo.ws
Thu Jun 29 11:24:58 MDT 2023


changeset:	14806:e79eddc35325 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/e79eddc35325
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jun 29 11:24:04 2023 -0600

Log Message:
	check_user_runcwd: only allow sudo's -D option if sudoers specifies a runcwd.

	Previously, the user could specify the runas user's home dir for
	"sudo -i" or the user's existing cwd when -i is not specified.
	This behavior was never documented and is inconsistent with how
	the -R option is handled.

diffstat:

 plugins/sudoers/sudoers.c |  24 +++++++-----------------
 1 files changed, 7 insertions(+), 17 deletions(-)



More information about the sudo-commits mailing list