bundles/sudo: add bundle
This commit is contained in:
parent
9a956e832a
commit
067b498bf2
4 changed files with 33 additions and 3 deletions
11
bundles/sudo/files/sudoers
Normal file
11
bundles/sudo/files/sudoers
Normal file
|
@ -0,0 +1,11 @@
|
|||
Defaults timestamp_timeout=5
|
||||
Defaults insults
|
||||
Defaults passwd_timeout=10
|
||||
Defaults env_reset
|
||||
|
||||
|
||||
root ALL=(ALL) ALL
|
||||
|
||||
% for user in node.metadata['sudo']:
|
||||
${user} ALL=(ALL) NOPASSWD:ALL
|
||||
% endfor
|
Loading…
Add table
Add a link
Reference in a new issue