etc/sudoers.d: add vim modelines just in case

I think it autodetected them correctly though
This commit is contained in:
Aminda Suomalainen 2024-04-24 18:16:42 +03:00
parent 505c6ec74a
commit 38152ab152
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
5 changed files with 10 additions and 0 deletions

View File

@ -3,3 +3,5 @@
%plugdev ALL = NOPASSWD: /usr/sbin/hibernate
# suspend
%plugdev ALL = NOPASSWD: /usr/sbin/s2ram
# vim: filetype=sudoers

View File

@ -12,3 +12,5 @@ Defaults insults
# Disable insults for user aminda
#Defaults:aminda !insults
# vim: filetype=sudoers

View File

@ -3,3 +3,5 @@
# For more information, see https://superuser.com/a/500125
# & https://serverfault.com/a/333640
Defaults lecture = always
# vim: filetype=sudoers

View File

@ -1,3 +1,5 @@
# Via https://askubuntu.com/a/692712, I am tired of checking password just
# for this. Target system: Debian and Ubuntu
%sudo ALL=NOPASSWD: /bin/systemctl restart matterbridge.service
# vim: filetype=sudoers

View File

@ -6,3 +6,5 @@
%sudo ALL=NOPASSWD: /bin/systemctl stop teamviewerd.service
%sudo ALL=NOPASSWD: /bin/systemctl start teamviewerd.service
%sudo ALL=NOPASSWD: /bin/systemctl restart teamviewerd.service
# vim: filetype=sudoers