1
0
Fork 0
This commit is contained in:
Javier Bértoli 2022-08-18 08:30:42 +02:00 committed by GitHub
commit 043877bc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -84,24 +84,24 @@ Cmnd_Alias {{ name }} = {{ ",".join(commands) }}
Runas_Alias {{ name }} = {{ ",".join(runas) }} Runas_Alias {{ name }} = {{ ",".join(runas) }}
{%- endfor %} {%- endfor %}
# User privilege specification # Netgroup privilege specification
{%- for user,specs in users|dictsort %} {%- for netgroup,specs in netgroups.items() %}
{%- for spec in specs %} {%- for spec in specs %}
{{ user }} {{ spec }} +{{ netgroup }} {{ spec }}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}
# Group privilege specification # Group privilege specification
{%- for group,specs in groups|dictsort %} {%- for group,specs in groups.items() %}
{%- for spec in specs %} {%- for spec in specs %}
%{{ group }} {{ spec }} %{{ group }} {{ spec }}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}
# Netgroup privilege specification # User privilege specification
{%- for netgroup,specs in netgroups.items() %} {%- for user,specs in users.items() %}
{%- for spec in specs %} {%- for spec in specs %}
+{{ netgroup }} {{ spec }} {{ user }} {{ spec }}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}