Re: Defaults editor= with last entry not existing in the OS get sudoedit fail with error
"Todd C. Miller" <[email protected]> Tue, 17 Apr 2018 14:54:10 -0600
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 17 Apr 2018 22:40:40 +0200, Daniele Palumbo wrote: > Just for my understanding, is this the following entry in the changelog? > > 2017-12-21 Todd C. Miller <[email protected]> > > * plugins/sudoers/sudoers.c: > Stop looking for an editor as soon as we find one. A similar fix was > made to visudo some time ago. > [c6c5d968612a] Yes. There was no bug filed on this, it was just something I noticed when comparing the sudoedit and visudo editor code. I'll be updating the documentation on the "editor" setting in sudo 1.8.23 to mention that it is used by sudoedit when no EDITOR, VISUAL or SUDO_EDITOR environment variable is set. Originally, "editor" was only for visudo but now a common set of code is used in visudo and sudoedit to determine the editor. - todd ____________________________________________________________ sudo-workers mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-workers