1
0
Fork 0

Keeping SSH_CONNECTION SSH_CLIENT SSH_TTY variables in environment.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 09:53:07 +02:00
parent 0afcaae700
commit 2d74438f16
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424

1
debian/etc/sudoers vendored
View file

@ -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"