mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-04 18:37:52 +02:00
add a list of reserved usernames for centos
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@
|
||||
# If a user is changed from present to absent, their usergroup will be removed, but any additional usergroups that were created
|
||||
# for that user will remain.
|
||||
|
||||
{% for username, userdeets in pillar.get('users', {}).items() %}
|
||||
{% from 'users/map.jinja' import reserved_usernames with context %}
|
||||
|
||||
{% for username, userdeets in pillar.get('users', {}).items() if username not in reserved_usernames %}
|
||||
{% if 'status' in userdeets %}
|
||||
{% if userdeets.status == 'absent' %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user