visudo no sudo for a command code example
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