diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-11-18 18:54:57 -0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-11-18 18:54:57 -0800 |
commit | 21b8904ece6c59171b5324e55dea1eb92130ed3f (patch) | |
tree | 129047df9d18cf9cdbdb7570823eedc594ea5d20 /etc | |
parent | 674cd4a57df7170b0aa8805aecc817cafb60ddfd (diff) |
pacdiff
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sudoers | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/sudoers b/etc/sudoers index d590be97..94678ba5 100644 --- a/etc/sudoers +++ b/etc/sudoers @@ -47,7 +47,7 @@ Defaults!/usr/bin/visudo env_keep += "SUDO_EDITOR EDITOR VISUAL" ## ## Use a hard-coded PATH instead of the user's to find commands. ## This also helps prevent poorly written scripts from running -## artbitrary commands under sudo. +## arbitrary commands under sudo. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/bin" ## ## You may wish to keep some of the following environment variables @@ -107,6 +107,10 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/bin" ## Some package scripts run a huge number of commands, which is made ## slower by these options and also can clutter up the logs. # Defaults!PKGMAN !intercept, !log_subcmds +## +## Uncomment to disable PAM silent mode. Otherwise messages by PAM +## modules such as pam_faillock will not be printed. +# Defaults !pam_silent ## ## Runas alias specification |