[sudo-commits] sudo changeset 14942:21e4d5cc5f43

Todd C. Miller Todd.Miller at sudo.ws
Thu Jul 27 11:34:21 MDT 2023


changeset:	14942:21e4d5cc5f43 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/21e4d5cc5f43
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jul 27 11:32:56 2023 -0600

Log Message:
	visudo: document that a new file is only created if the editor writes it.

	If visudo is used to create a new file, the file will only be created
	if the user writes to the file via the editor.  Simply running
	visudo and exiting the editor will no longer cause the file to be
	created.  There is an exception for file created due to the addition
	of a @include directive, which need to be present for the sudoers
	file to parse properly.  GitHub issue #294.

diffstat:

 docs/visudo.man.in  |  7 ++++++-
 docs/visudo.mdoc.in |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list