summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2016-08-05 14:22:50 -0700
committerGitHub <noreply@github.com>2016-08-05 14:22:50 -0700
commit81fe939dd346420d41eb2afcd6c8c05a422a9e7b (patch)
tree8b9684f66f830d205454b894d313491192e42b9f /sesman
parent87da32bac8a9e639f85ca2c6dad8d8e6945961df (diff)
parentc0ac8251f748754b65c81c7bb5245add9ce30bf7 (diff)
downloadxrdp-proprietary-81fe939dd346420d41eb2afcd6c8c05a422a9e7b.tar.gz
xrdp-proprietary-81fe939dd346420d41eb2afcd6c8c05a422a9e7b.zip
Merge pull request #388 from metalefty/freebsd/fuse
sesman: Add /sbin to PATH for FreeBSD
Diffstat (limited to 'sesman')
-rw-r--r--sesman/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 0e92e9e2..d8bb1e98 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -125,7 +125,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);