diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2016-06-20 09:47:37 +0900 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2016-06-20 09:47:37 +0900 |
commit | c0ac8251f748754b65c81c7bb5245add9ce30bf7 (patch) | |
tree | 790aa121015801d8ca420922faf78b93efd40573 /sesman | |
parent | dd906c3fc8d180771c4b4114cdf3d601f6993bf6 (diff) | |
download | xrdp-proprietary-c0ac8251f748754b65c81c7bb5245add9ce30bf7.tar.gz xrdp-proprietary-c0ac8251f748754b65c81c7bb5245add9ce30bf7.zip |
sesman: Add /sbin to PATH for FreeBSD
to enable to execute FUSE mount program.
The place of FUSE mount programs are:
FreeBSD : /sbin/mount_fusefs
GNU/Linux : /bin/fusermount
See also #387.
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c index 39e020fd..6bad2c4f 100644 --- a/sesman/env.c +++ b/sesman/env.c @@ -122,7 +122,7 @@ env_set_user(char *username, char *passwd_file, int display, { g_clearenv(); g_setenv("SHELL", pw_shell, 1); - g_setenv("PATH", "/bin:/usr/bin:/usr/local/bin", 1); + g_setenv("PATH", "/sbin:/bin:/usr/bin:/usr/local/bin", 1); g_setenv("USER", username, 1); g_sprintf(text, "%d", uid); g_setenv("UID", text, 1); |