#1031084 opendoas: Misleading comment in example config file

#1031084#5
Date:
2023-02-11 11:53:38 UTC
From:
To:
Dear Maintainer,

The example config file found in /usr/share/doc/opendoas/examples contains the
following lines:
----8<------
# Permit members of the sudo group to perform actions as root.
permit :sudo
----8<------

While in itself the comment is true, it's also misleading in that the rule
allows the members of
the sudo group to perform actions as *all users*, not just root. This as per
the doas.conf manual page:
----8<------ as target The target user the running user is allowed to run the command as. The default is all users. ----8<------ Therefore I suggest to replace the 'as root' part of the comment in question by 'as all users'.
#1031084#10
Date:
2023-03-18 20:52:05 UTC
From:
To:
Hello!
Thank you for reporting this, I fixed this in the latest commit in the git repo.
The next version of this package will include the fix.