summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:25:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:25:02 +0000
commit1737ab86320a6a8b34c18be0cb9c607b7507764d (patch)
tree63895015e8160ca2ac01a5f8c532096ce92c942e /debian
parentUpdating vcs fields. (diff)
downloadsudo-1737ab86320a6a8b34c18be0cb9c607b7507764d.tar.xz
sudo-1737ab86320a6a8b34c18be0cb9c607b7507764d.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/sudoers1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/sudoers b/debian/sudoers
index d4cc632..ed06029 100644
--- a/debian/sudoers
+++ b/debian/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"