Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: tut on 05 August 2021, 18:24:31

Title: sudoers without password require password
Post by: tut on 05 August 2021, 18:24:31
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