summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 13:16:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 13:16:15 +0000
commitde815142b891755974d1fce58b4f3b12ed94440a (patch)
treef11fb23be0fa4a77498a824b4bb0c29d19956cca
parentDisabling admin-flag. (diff)
downloadsudo-de815142b891755974d1fce58b4f3b12ed94440a.tar.xz
sudo-de815142b891755974d1fce58b4f3b12ed94440a.zip
Keeping SSH_CONNECTION SSH_CLIENT SSH_TTY variables in environment.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/etc/sudoers1
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"