From de815142b891755974d1fce58b4f3b12ed94440a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 15:16:15 +0200 Subject: Keeping SSH_CONNECTION SSH_CLIENT SSH_TTY variables in environment. Signed-off-by: Daniel Baumann --- debian/etc/sudoers | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3