shell-things/etc/sudoers.d/nordvpnd

13 lines
706 B
Plaintext
Raw Normal View History

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
%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-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
# 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