mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
sudoers.d: add always-ask-password & password-feedback
This commit is contained in:
parent
61b9fb9e6a
commit
9ef3faffaf
3
etc/sudoers.d/always-ask-password
Normal file
3
etc/sudoers.d/always-ask-password
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Inspired from Tails. This may break the expectation of "sudo mode", but
|
||||||
|
# saves me from constantly entering "sudo -k"
|
||||||
|
Defaults timestamp_timeout=0
|
5
etc/sudoers.d/password-feedback
Normal file
5
etc/sudoers.d/password-feedback
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# 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!
|
Loading…
Reference in New Issue
Block a user