sudoers.d: add modelines, remove prettier comment

This commit is contained in:
Aminda Suomalainen 2024-08-12 15:22:44 +03:00
parent 060b48d9eb
commit 7d548e20e6
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,2 @@
<!-- @format -->
The names may not contain a dot, the RHEL sudo is wheel (not to be confused
with Debian's passwordless sudo) and the proper permissions are 0400.

View File

@ -1,3 +1,5 @@
# Inspired from Tails. This may break the expectation of "sudo mode", but
# saves me from constantly entering "sudo -k"
Defaults timestamp_timeout=0
# vim: filetype=sudoers

View File

@ -1,5 +1,7 @@
# Tails has this and I suspect it may be less confusing for less technical
# people around.
defaults pwfeedback
# WARNING! Syntax error on Fedora 40, but doesn't stop using sudo. You might
# want to not apply this with it!
# WARNING! Syntax error on Fedora 40 and Arch Linux, but doesn't stop using
# sudo. You mightwant to not apply this with them!
# vim: filetype=sudoers