summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-16 16:01:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-16 16:01:57 +0900
commit18aab4be01628bea4795bb4ccdb9f4035da9673a (patch)
tree231455aec48d5cb7ba5b62ec32b48927ac2d76db
parent54d446b05ec1ff2879b568b5d91bd2b7bb31ffb0 (diff)
e askpass - also set SSH_ASKPASS like with sudo
this means that is ssh runs with no tty/terminal available then it can ask for a password with the same gui as for sudo that e provides.
-rw-r--r--src/bin/e_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 4c705fcdc..3c88736b0 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -327,6 +327,7 @@ main(int argc, char **argv)
327 e_util_env_set("DESKTOP", "Enlightenment"); 327 e_util_env_set("DESKTOP", "Enlightenment");
328 snprintf(buff, sizeof(buff), "%s/enlightenment_askpass", e_prefix_bin_get()); 328 snprintf(buff, sizeof(buff), "%s/enlightenment_askpass", e_prefix_bin_get());
329 e_util_env_set("SUDO_ASKPASS", buff); 329 e_util_env_set("SUDO_ASKPASS", buff);
330 e_util_env_set("SSH_ASKPASS", buff);
330 TS("Environment Variables Done"); 331 TS("Environment Variables Done");
331 332
332 /* KDE5 applications don't understand anything other then gnome or kde */ 333 /* KDE5 applications don't understand anything other then gnome or kde */