Requiere password for deploy_user to use sudo

This commit is contained in:
Bertrand Benjamin 2018-08-22 21:22:04 +02:00
parent 412befee64
commit 84380dc5f9

View File

@ -5,8 +5,8 @@ root ALL=(ALL) ALL
# being in the sudo group, anyway. # being in the sudo group, anyway.
makepkg ALL=NOPASSWD: /usr/bin/pacman * makepkg ALL=NOPASSWD: /usr/bin/pacman *
# If you managed to run malicious code as my user, I'm already fucked, so err # # If you managed to run malicious code as my user, I'm already fucked, so err
# on the side of usability. # # on the side of usability.
{% for user in deploy_users %} # {% for user in deploy_users %}
{{ user }} ALL=(ALL) NOPASSWD:ALL # {{ user }} ALL=(ALL) NOPASSWD:ALL
{% endfor %} # {% endfor %}