bundlewrap/bundles/sudo/files/sudoers

14 lines
351 B
Text
Raw Normal View History

2020-03-27 11:52:17 +00:00
Defaults timestamp_timeout=5
Defaults insults
Defaults passwd_timeout=10
Defaults env_reset
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
% 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