Marc, et al,
On Sat, Jul 5, 2025 at 8:17 AM Marc Haber
<[email protected]> wrote:
> Thanks for the patch, I will consider it after the trixie release.
Very good!
> What does sudo do if it finds an empty /etc/sudoers.d or a non-existing
> /etc/sudoers.d but the includedir directive is present? You could do me
> a huge favor by using those tests and documenting the result in this
> bug. Thanks in advance.
Each of the following steps prompted for a password and then succeeded:
1) Added the following line to /etc/sudoers:
Defaults timestamp_timeout=0
2) sudo printenv
3) sudo mv /etc/sudoers.d/* /var/tmp/
4) sudo printenv
5) sudo rmdir /etc/sudoers.d
6) sudo printenv
> On Fri, Jul 04, 2025 at 11:50:02PM -0500, Daniel Lewart wrote:
> > 3) It was created as a workaround for a bug that was later fixed
> > ...
> > * 2009-11-21 sudo: Avoid a parse error when #includedir
> > doesn't find any files.
> > https://github.com/sudo-project/sudo/commit/22e333fc5
> > ...
This confirms that Commit 22e333fc5 above has not regressed.
Thank you!
Daniel Lewart
Urbana, Illinois