NOPSWD ubuntu code example
Example 1: sudoers nopasswd
# skipping ask password for users with sudo
<USER_NAME> ALL=(ALL:ALL) NOPASSWD: ALL
Example 2: nopasswd
%sudo ALL=(ALL:ALL) ALL
# skipping ask password for users with sudo
<USER_NAME> ALL=(ALL:ALL) NOPASSWD: ALL
%sudo ALL=(ALL:ALL) ALL