example of nopasswd in sudoers.d file
Example: sudoers nopasswd
# user
user ALL=(ALL:ALL) NOPASSWD: ALL
# group
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
# user
user ALL=(ALL:ALL) NOPASSWD: ALL
# group
%sudo ALL=(ALL:ALL) NOPASSWD: ALL