summaryrefslogtreecommitdiffstats
path: root/debian/sudoers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:53:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:53:06 +0000
commita7e684e95fa74d673ede864e894ba0d65821754b (patch)
tree971eb45524e1bcac596ec6fd9236e2b63f766d8c /debian/sudoers
parentUpdating vcs fields. (diff)
downloadsudo-a7e684e95fa74d673ede864e894ba0d65821754b.tar.xz
sudo-a7e684e95fa74d673ede864e894ba0d65821754b.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 793b507..69eb7b0 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"