summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:38:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:38:38 +0000
commitc18f832fb4558198f8471610d500d05f4550c994 (patch)
treeb351e986b256e07758d3d923efc9ad89498807a1
parentDisabling admin-flag. (diff)
downloadsudo-c18f832fb4558198f8471610d500d05f4550c994.tar.xz
sudo-c18f832fb4558198f8471610d500d05f4550c994.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"