diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 21:27:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 21:27:44 +0000 |
commit | 197240467c0749f92ff5b13366b13ba3b01fea55 (patch) | |
tree | c75200a1fc462e3fc9a08d3c7b5ef605b7e7a055 | |
parent | Disabling admin-flag. (diff) | |
download | sudo-197240467c0749f92ff5b13366b13ba3b01fea55.tar.xz sudo-197240467c0749f92ff5b13366b13ba3b01fea55.zip |
Keeping SSH_CONNECTION SSH_CLIENT SSH_TTY variables in environment.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/etc/sudoers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/etc/sudoers b/debian/etc/sudoers index b5da8e9..de9d802 100644 --- a/debian/etc/sudoers +++ b/debian/etc/sudoers @@ -7,6 +7,7 @@ # See the man page for details on how to write a sudoers file. # Defaults env_reset +Defaults env_keep+="SSH_CONNECTION SSH_CLIENT SSH_TTY" Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |