nopasswd: all code example
Example 1: sudoers nopasswd
# user
user ALL=(ALL:ALL) NOPASSWD: ALL
# group
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
Example 2: nopasswd
%sudo ALL=(ALL:ALL) ALL
# user
user ALL=(ALL:ALL) NOPASSWD: ALL
# group
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
%sudo ALL=(ALL:ALL) ALL