bundlewrap/bundles/sshmon/files/sudoers

11 lines
256 B
Text
Raw Permalink Normal View History

<%
commands = set()
for maybe_fault in check_commands.values():
commands.add(str(maybe_fault))
%>\
% for command in sorted(commands):
% if command.startswith('sudo '):
sshmon ALL=NOPASSWD: ${command[len('sudo '):]}
% endif
% endfor