mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
11 lines
493 B
Text
11 lines
493 B
Text
# Show asterisks when typing passwords.
|
|
Defaults pwfeedback
|
|
|
|
# Disable launching arbitrary editors from the EDITOR, VISUAL and SUDO_EDITOR
|
|
# variables when using visudo because this is a potential security hole.
|
|
Defaults !env_editor
|
|
# Whitelist of editors which visudo is allowed to run.
|
|
Defaults editor=/usr/bin/nvim:/usr/bin/vim:/usr/bin/nano:/bin/nano
|
|
# Pass-through the editor environment variables so that visudo will be able to
|
|
# see them.
|
|
Defaults env_keep+="EDITOR VISUAL SUDO_EDITOR"
|