2024-01-05 11:48:04 +01:00
|
|
|
# passwordless sudo systemctl ... for group nordvpn
|
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
|
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
|
2024-04-16 07:39:16 +02:00
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.socket
|
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.socket
|
2024-01-05 11:48:04 +01:00
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
|
2024-05-10 17:27:06 +02:00
|
|
|
%nordvpn ALL=NOPASSWD: /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
2024-03-29 06:58:44 +01:00
|
|
|
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
|
|
|
|
# it works
|
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl restart yggdrasil.service
|
2024-04-20 06:42:40 +02:00
|
|
|
# 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
|
2024-04-20 10:56:14 +02:00
|
|
|
# Tells Chrony we are connected and thus maybe connects to IPv6 NTP servers
|
|
|
|
%nordvpn ALL=NOPASSWD: /usr/bin/chronyc online
|
2024-04-24 17:00:00 +02:00
|
|
|
# Clearing DNS caches once we are disconnected
|
2024-05-10 17:27:06 +02:00
|
|
|
#%nordvpn ALL=NOPASSWD: /bin/systemctl restart unbound.service
|
|
|
|
%nordvpn ALL=NOPASSWD: /usr/sbin/unbound-control reload
|
|
|
|
#%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-resolved.service
|
|
|
|
%nordvpn ALL=NOPASSWD: /usr/bin/resolvectl flush-caches
|
2024-04-27 11:10:15 +02:00
|
|
|
# Tor complains about failures for a while and then notes IP change and
|
|
|
|
# regenerates keys, so it should probably be here too.
|
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl restart tor.service
|
2024-04-27 11:21:07 +02:00
|
|
|
%nordvpn ALL=NOPASSWD: /bin/systemctl restart tor-client.service
|
2024-04-24 17:00:00 +02:00
|
|
|
# vim: filetype=sudoers
|