diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-10-25 06:45:08 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-10-25 06:45:08 +0000 |
commit | e4db0b25bf6540386e737594a47cb92a83c0cbea (patch) | |
tree | 70f85967663aa539fabe40e40803fa638acfae00 /etc/sudoers | |
parent | 12bda1ac3390f2d16a401d895faf0ef2418f874c (diff) |
update
Diffstat (limited to 'etc/sudoers')
-rw-r--r-- | etc/sudoers | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/sudoers b/etc/sudoers index 65cd7ca1..cfd22989 100644 --- a/etc/sudoers +++ b/etc/sudoers @@ -59,15 +59,22 @@ ## Uncomment to use a hard-coded PATH instead of the user's to find commands # Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ## +## Uncomment to restore the historic behavior where a command is run in +## the user's own terminal. +# Defaults !use_pty +## ## Uncomment to send mail if the user does not enter the correct password. # Defaults mail_badpass ## ## Uncomment to enable logging of a command's output, except for ## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +## Sudo will create up to 2,176,782,336 I/O logs before recycling them. +## Set maxseq to a smaller number if you don't have unlimited disk space. # Defaults log_output # Defaults!/usr/bin/sudoreplay !log_output # Defaults!/usr/local/bin/sudoreplay !log_output # Defaults!REBOOT !log_output +# Defaults maxseq = 1000 ## ## Runas alias specification @@ -82,7 +89,7 @@ root ALL=(ALL:ALL) ALL %wheel ALL=(ALL:ALL) ALL ## Same thing without a password -#%wheel ALL=(ALL:ALL) NOPASSWD: ALL +# %wheel ALL=(ALL:ALL) NOPASSWD: ALL ## Uncomment to allow members of group sudo to execute any command # %sudo ALL=(ALL:ALL) ALL |