2020-03-27 11:52:17 +00:00
|
|
|
Defaults timestamp_timeout=5
|
|
|
|
Defaults insults
|
|
|
|
Defaults passwd_timeout=10
|
|
|
|
Defaults env_reset
|
2020-04-04 14:53:25 +00:00
|
|
|
Defaults secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
2020-03-27 11:52:17 +00:00
|
|
|
|
|
|
|
root ALL=(ALL) ALL
|
|
|
|
|
2020-09-20 13:11:52 +00:00
|
|
|
% for user, permissions in sorted(node.metadata['sudo'].items()):
|
|
|
|
% for p in sorted(permissions):
|
|
|
|
${user} ALL=(ALL) NOPASSWD:${p}
|
|
|
|
% endfor
|
2020-03-27 11:52:17 +00:00
|
|
|
% endfor
|