[sudo-commits] sudo changeset 14728:de896a012d81

Todd C. Miller Todd.Miller at sudo.ws
Tue May 2 11:23:33 MDT 2023


changeset:	14728:de896a012d81 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/de896a012d81
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue May 02 10:45:56 2023 -0600

Log Message:
	Track the destination sudoers path for each parsed file.

	When adminconfdir is enabled, the destination pathh may be different
	from the path we opened.  We always store an edited file in the
	adminconfdir (if enabled).  This makes it possible to use visudo
	when /etc/sudoers is located on a read-only file system.

diffstat:

 plugins/sudoers/visudo.c |  130 +++++++++++++++++++++++++++-------------------
 1 files changed, 75 insertions(+), 55 deletions(-)



More information about the sudo-commits mailing list