Compare commits

..

2 Commits

2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,5 @@
# Default is to give the sudo lecture only for the first time, but I think # By default the lecture is given only the first time sudo is used, the seen
# reminders won't hurt. # state is stored somewhere depending on distribution. This shows it always.
# For more information, see https://superuser.com/a/500125
# & https://serverfault.com/a/333640
Defaults lecture = always Defaults lecture = always

4
etc/sudoers.d/nordvpnd Normal file
View File

@ -0,0 +1,4 @@
# 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 restart nordvpnd.service