From 7d548e20e6528e862ab0361519dcfefd91d8ace9 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 12 Aug 2024 15:22:44 +0300 Subject: [PATCH] sudoers.d: add modelines, remove prettier comment --- etc/sudoers.d/README.md | 2 -- etc/sudoers.d/always-ask-password | 2 ++ etc/sudoers.d/password-feedback | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/etc/sudoers.d/README.md b/etc/sudoers.d/README.md index e329123c..588b99e4 100644 --- a/etc/sudoers.d/README.md +++ b/etc/sudoers.d/README.md @@ -1,4 +1,2 @@ - - 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. diff --git a/etc/sudoers.d/always-ask-password b/etc/sudoers.d/always-ask-password index ec2297f6..727f3063 100644 --- a/etc/sudoers.d/always-ask-password +++ b/etc/sudoers.d/always-ask-password @@ -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 diff --git a/etc/sudoers.d/password-feedback b/etc/sudoers.d/password-feedback index b0018e4b..30d815b5 100644 --- a/etc/sudoers.d/password-feedback +++ b/etc/sudoers.d/password-feedback @@ -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