Configure sudo without a password
You can give users and user groups the ability to run some or all commands as root without a password.
admins
group to grant sudo
access without a
password:cem_linux::benchmark: 'cis'
cem_linux::config:
profile: 'server'
level: '1'
control_configs:
ensure_sudo_is_installed:
package_ensure: 'installed'
options:
user_group:
%admins:
options:
- 'NOPASSWD:'