diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-08-16 16:01:57 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-08-16 16:01:57 +0900 |
commit | 18aab4be01628bea4795bb4ccdb9f4035da9673a (patch) | |
tree | 231455aec48d5cb7ba5b62ec32b48927ac2d76db | |
parent | 54d446b05ec1ff2879b568b5d91bd2b7bb31ffb0 (diff) | |
download | enlightenment-18aab4be01628bea4795bb4ccdb9f4035da9673a.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 4c705fcdc0..3c88736b0e 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -327,6 +327,7 @@ main(int argc, char **argv) e_util_env_set("DESKTOP", "Enlightenment"); snprintf(buff, sizeof(buff), "%s/enlightenment_askpass", e_prefix_bin_get()); e_util_env_set("SUDO_ASKPASS", buff); + e_util_env_set("SSH_ASKPASS", buff); TS("Environment Variables Done"); /* KDE5 applications don't understand anything other then gnome or kde */ |