summaryrefslogtreecommitdiff
path: root/etc/sudoers.d/itzks-systems-common
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-05 11:42:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-05 11:42:24 +0100
commit6d6ae68c2377655fa288155270892509733bd27f (patch)
treec7eedcc41cc80e267f8c8d947d6f9475993455c6 /etc/sudoers.d/itzks-systems-common
parenta8e67053dca4ed953262d5a7ea494fb1ea0efdf2 (diff)
downloaditzks-systems-6d6ae68c2377655fa288155270892509733bd27f.tar.gz
itzks-systems-6d6ae68c2377655fa288155270892509733bd27f.tar.bz2
itzks-systems-6d6ae68c2377655fa288155270892509733bd27f.zip
sudo tweaks: Keep DISPLAY and SSH_AUTH_SOCK env vars. Allows sudo with X11 access + ssh agent forwarding after during sudo calls.
Diffstat (limited to 'etc/sudoers.d/itzks-systems-common')
-rw-r--r--etc/sudoers.d/itzks-systems-common2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/sudoers.d/itzks-systems-common b/etc/sudoers.d/itzks-systems-common
new file mode 100644
index 0000000..c3851a2
--- /dev/null
+++ b/etc/sudoers.d/itzks-systems-common
@@ -0,0 +1,2 @@
+Defaults env_keep += "SSH_AUTH_SOCK"
+Defaults env_keep += "DISPLAY"