mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-21 18:59:22 +01:00
sudoers.d/nordvpnd: add NetworkManager restarting
This commit is contained in:
parent
a0419bda15
commit
be0f664bcc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user