Skip to main content
Topic: sudoers without password require password (Read 551 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

sudoers without password require password

Hello,
I have a question regarding passwordless sudo configuration:

setting
%wheel ALL=(ALL) NOPASSWD: ALL
 in Artix does not work due to the fact that the last lane in the sudoers file refers to
@includedir /etc/sudoers.d
pointing to /etc/sudoers.d/10-installer
file that lists this option:
%wheel ALL=(ALL) ALL

in effect %wheel ALL=(ALL) ALL requiring password will take precedence. Commenting out the last line referring to /etc/sudoers.d
solves the issue.

I do not understand why sudoers in default configuration prevent enabling a listed option if the option is listed.
What would be a reason for preventing passwordless wheel to work?

Thank you