I am trying to add NOPASSWD
option for existing user who belongs to the sudo
group and have admin rights. I added this line in sudoers
file:
max ALL=(ALL:ALL) NOPASSWD: ALL
But it still ask me for password when i try to execute command with sudo
.
/etc/sudoers.d/
(which are parsed at the end of the main file in default configuration) – Oli Aug 10 '16 at 12:19/etc/sudoers.d/
folder. https://stackoverflow.com/a/71851251/8859073 – maples Apr 13 '22 at 02:47