diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:16:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:16:15 +0000 |
commit | de815142b891755974d1fce58b4f3b12ed94440a (patch) | |
tree | f11fb23be0fa4a77498a824b4bb0c29d19956cca | |
parent | Disabling admin-flag. (diff) | |
download | sudo-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/sudoers | 1 |
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" |