sudoers: fix Tor reloading on Arch Linux

This commit is contained in:
Miraty 2022-11-22 15:00:32 +01:00
parent 0f1428c527
commit 00900e1e2b
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
niver ALL=(root) NOPASSWD: /usr/bin/systemctl reload nginx
niver ALL=(root) NOPASSWD: /usr/bin/systemctl reload tor@default
niver ALL=(root) NOPASSWD: /usr/bin/systemctl reload tor
niver ALL=(root) NOPASSWD: /usr/bin/chgrp ^sftpgo /srv/niver/ht/[^[:punct:][:space:][:cntrl:]]{1,128} --no-dereference$
niver ALL=(root) NOPASSWD: /usr/bin/certbot ^certonly( --test-cert)? --key-type rsa --rsa-key-size 3072 --webroot --webroot-path /srv/niver/acme --domain ([a-z0-9_-]{1,63}\.){1,126}[a-z0-9]{1,63}$
niver ALL=(root) NOPASSWD: /usr/bin/certbot ^delete --quiet --cert-name ([a-z0-9_-]{1,63}\.){1,126}[a-z0-9]{1,63}$