Skip to content
Extraits de code Groupes Projets
Valider 6426d8af rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

change(fail2ban): adapt sudoers commands to new script

parent 97e63c43
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -11,11 +11,8 @@ root ALL=(ALL:ALL) ALL ...@@ -11,11 +11,8 @@ root ALL=(ALL:ALL) ALL
{{ host_user }} ALL=(ALL) ALL {{ host_user }} ALL=(ALL) ALL
{% if host_user2 is defined %}{{ host_user2 }} ALL=(ALL) ALL{% endif %} {% if host_user2 is defined %}{{ host_user2 }} ALL=(ALL) ALL{% endif %}
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client status nagios ALL=NOPASSWD: /usr/bin/fail2ban-client banned
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client status * nagios ALL=NOPASSWD: /usr/bin/fail2ban-client ping
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client get * banip
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client get * banip --with-time
nagios ALL=NOPASSWD: /usr/bin/fail2ban-client get * bantime
nagios ALL=NOPASSWD: /usr/bin/docker ps --format {{ '{{' }}.Names{{ '}}' }} --filter name=* --no-trunc --quiet --all nagios ALL=NOPASSWD: /usr/bin/docker ps --format {{ '{{' }}.Names{{ '}}' }} --filter name=* --no-trunc --quiet --all
nagios ALL=NOPASSWD: /usr/bin/docker ps --format {{ '{{' }}.Names{{ '}}' }} --filter name=* --no-trunc --quiet nagios ALL=NOPASSWD: /usr/bin/docker ps --format {{ '{{' }}.Names{{ '}}' }} --filter name=* --no-trunc --quiet
nagios ALL=NOPASSWD: /usr/bin/docker stats --format {{ '{{' }}.Name{{ '}}' }}\:{{ '{{' }}.CPUPerc{{ '}}' }}\:{{ '{{' }}.MemPerc{{ '}}' }} --no-stream nagios ALL=NOPASSWD: /usr/bin/docker stats --format {{ '{{' }}.Name{{ '}}' }}\:{{ '{{' }}.CPUPerc{{ '}}' }}\:{{ '{{' }}.MemPerc{{ '}}' }} --no-stream
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter