From f25100522fa2c5da73021ecacdee211d8b3ee6d8 Mon Sep 17 00:00:00 2001 From: Wesley Arthur <31480330+wesleyarthur@users.noreply.github.com> Date: Fri, 16 Mar 2018 12:59:11 -0400 Subject: [PATCH] Need to be able to handle netgroups This makes it incompatible with netgroups. netgroups are defined with a "+" symbol in front. For example +mynetgroup. --- sudoers/files/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudoers/files/sudoers b/sudoers/files/sudoers index affc316..d9f5080 100644 --- a/sudoers/files/sudoers +++ b/sudoers/files/sudoers @@ -91,7 +91,7 @@ Runas_Alias {{ name }} = {{ ",".join(runas) }} # Group privilege specification {%- for group,specs in groups.items() %} {%- for spec in specs %} -%{{ group }} {{ spec }} +{{ group }} {{ spec }} {%- endfor %} {%- endfor %}