sudoers.d/nordvpnd: include nordvpnd.socket

This commit is contained in:
Aminda Suomalainen 2024-04-16 08:39:16 +03:00
parent 419805bc91
commit 75c39ddb0d
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,6 +1,8 @@
# passwordless sudo systemctl ... for group nordvpn # passwordless sudo systemctl ... for group nordvpn
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service %nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service %nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.socket
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.socket
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service %nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure # used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
# it works # it works