diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-11-18 18:54:57 -0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-12-01 16:56:28 -0800 |
commit | bedb296faa45c8c0ee23d8e5b05011efdd3d06ae (patch) | |
tree | abf340869fd42c66fe4b121cd775374335d37869 /etc | |
parent | b3a550b54008d46791e5938ba0bb77bd45bb0050 (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 |