diff options
author | jsorg71 <jsorg71> | 2005-04-27 01:34:21 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-04-27 01:34:21 +0000 |
commit | 10e7a9789b20f2d24e26e40f5c9e58295f784bfc (patch) | |
tree | 845faba58739fa378515f0b1ded33b2ba0b84f5b /sesman | |
parent | 367c19d3fbedf440a8008b1175ef19f4176dde53 (diff) | |
download | xrdp-proprietary-10e7a9789b20f2d24e26e40f5c9e58295f784bfc.tar.gz xrdp-proprietary-10e7a9789b20f2d24e26e40f5c9e58295f784bfc.zip |
gota set shell enviroment var
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/sesman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c index 073ab522..ae791fec 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -334,6 +334,7 @@ int start_session(int width, int height, int bpp, char* username, if (error == 0) { clearenv(); + setenv("SHELL", pwd_1->pw_shell, 1); setenv("PATH", "/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin", 1); setenv("USER", username, 1); g_sprintf(text, "%d", uid); |