From 75c39ddb0dc8195d87fdba528707ba20653fe0ab Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 16 Apr 2024 08:39:16 +0300 Subject: [PATCH] sudoers.d/nordvpnd: include nordvpnd.socket --- etc/sudoers.d/nordvpnd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/sudoers.d/nordvpnd b/etc/sudoers.d/nordvpnd index df51cc4e..c63a3f03 100644 --- a/etc/sudoers.d/nordvpnd +++ b/etc/sudoers.d/nordvpnd @@ -1,6 +1,8 @@ # passwordless sudo systemctl ... for group nordvpn %nordvpn ALL=NOPASSWD: /bin/systemctl stop 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 # used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure # it works