try sudoers.d

This commit is contained in:
Bertrand Benjamin 2018-08-22 22:27:38 +02:00
parent a4dc2ae3f3
commit dcf7f409ed

View File

@ -1,12 +1,4 @@
root ALL=(ALL) ALL root ALL=(ALL) ALL
%sudo ALL=(ALL) ALL %sudo ALL=(ALL) ALL
# Allow the build user access to pacman. This user can't be accessed without #includedir /etc/sudoers.d
# being in the sudo group, anyway.
makepkg ALL=NOPASSWD: /usr/bin/pacman *
# # If you managed to run malicious code as my user, I'm already fucked, so err
# # on the side of usability.
# {% for user in deploy_users %}
# {{ user }} ALL=(ALL) NOPASSWD:ALL
# {% endfor %}