From be0f664bcc4d0c34c8fd7649fd65588f44ced03c Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 13 Aug 2024 07:08:49 +0300 Subject: [PATCH] sudoers.d/nordvpnd: add NetworkManager restarting --- etc/sudoers.d/nordvpnd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/sudoers.d/nordvpnd b/etc/sudoers.d/nordvpnd index b613c786..3a765644 100644 --- a/etc/sudoers.d/nordvpnd +++ b/etc/sudoers.d/nordvpnd @@ -11,6 +11,7 @@ # used in my scripts of disconnecting from nordvpn and restoring IPv6 %nordvpn ALL=NOPASSWD: /bin/systemctl restart iwd.service %nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service +%nordvpn ALL=NOPASSWD: /bin/systemctl restart NetworkManager.service # Tells Chrony we are connected and thus maybe connects to IPv6 NTP servers %nordvpn ALL=NOPASSWD: /usr/bin/chronyc online # Clearing DNS caches once we are disconnected @@ -22,4 +23,5 @@ # regenerates keys, so it should probably be here too. %nordvpn ALL=NOPASSWD: /bin/systemctl restart tor.service %nordvpn ALL=NOPASSWD: /bin/systemctl restart tor-client.service + # vim: filetype=sudoers