Created
December 26, 2024 10:14
-
-
Save jkogara/bbfa0999f099676625cc5029fb6916e6 to your computer and use it in GitHub Desktop.
sudoers.d file to enable once per session sudo password requirement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/sudoers.d/prompt_once | |
# Makes the session be cross terminal, e.g. tmux | |
Defaults !tty_tickets | |
# sets the sudo timeout to be infinite | |
Defaults timestamp_timeout = -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment