mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-21 05:47:23 +02:00
Compare commits
2 Commits
39dffa8939
...
86575ddd37
Author | SHA1 | Date | |
---|---|---|---|
86575ddd37 | |||
0f5dceed49 |
@ -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
4
etc/sudoers.d/nordvpnd
Normal 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
|
Loading…
x
Reference in New Issue
Block a user