sudoers/nordvpnd: allow chronyc online

This commit is contained in:
Aminda Suomalainen 2024-04-20 11:56:14 +03:00
parent c9cad77caf
commit ffc4c53615
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -10,3 +10,5 @@
# used in my scripts of disconnecting from nordvpn and restoring IPv6 # 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 iwd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service %nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service
# Tells Chrony we are connected and thus maybe connects to IPv6 NTP servers
%nordvpn ALL=NOPASSWD: /usr/bin/chronyc online