On Mon, Mar 14, 2022 at 10:55:07PM +0100, Marc Haber wrote: > Here is upstream's answer on their bugzilla: > > Integration with a revision control system (e.g. git) > > might be a better solution.
Maybe this is a good idea for some person who wants this to happen to chime in, fork https://github.com/sudo-project/sudo and file a PR: Keep in mind that whatever you're doing in sudo and visudo happens as root. Dropping privileges after reading the new file state (and having old file state already in memory) might be a good idea. Greetings Marc

