diff options
-rw-r--r-- | sesman/env.c | 2 | ||||
-rw-r--r-- | xrdp/xrdp_login_wnd.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sesman/env.c b/sesman/env.c index b097f38c..8a11f818 100644 --- a/sesman/env.c +++ b/sesman/env.c @@ -123,7 +123,7 @@ env_set_user(const char *username, char **passwd_file, int display, if (error == 0) { uid = pw_uid; - error = g_setuid(uid); +// error = g_setuid(uid); } g_mk_socket_path(0); diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index c09f8002..d310572f 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -589,7 +589,8 @@ xrdp_wm_login_fill_in_combo(struct xrdp_wm *self, struct xrdp_bitmap *b) if ((g_strncasecmp(p, "globals", 255) == 0) || (g_strncasecmp(p, "channels", 255) == 0) - || (g_strncasecmp(p, "Logging", 255) == 0)) + || (g_strncasecmp(p, "Logging", 255) == 0) + || (g_strncasecmp(p, "Database", 255) == 0)) { } else |