diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-03-20 16:11:28 +1100 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-03-20 16:11:28 +1100 |
commit | 89a42458fad356f36742b09e04be686092e698dd (patch) | |
tree | 5d05625c6ae79784ce51bab9b2d553ef599e0c60 /liblightdm-gobject/user.c | |
parent | f8841d64f28da418060092a8e181e0693906b23e (diff) | |
download | lightdm-89a42458fad356f36742b09e04be686092e698dd.tar.gz |
Call initgroups before pam_setcred - this allows pam_setcred to change group membership correctly
Diffstat (limited to 'liblightdm-gobject/user.c')
-rw-r--r-- | liblightdm-gobject/user.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/liblightdm-gobject/user.c b/liblightdm-gobject/user.c index 60da60a5..f531a560 100644 --- a/liblightdm-gobject/user.c +++ b/liblightdm-gobject/user.c @@ -772,16 +772,12 @@ update_users (LightDMUserList *user_list) } else { - const gchar *passwd_filename; GFile *passwd_file; load_passwd_file (user_list, FALSE); /* Watch for changes to user list */ - passwd_filename = g_getenv ("LIGHTDM_TEST_PASSWD_FILE"); - if (!passwd_filename) - passwd_filename = PASSWD_FILE; passwd_file = g_file_new_for_path (PASSWD_FILE); priv->passwd_monitor = g_file_monitor (passwd_file, G_FILE_MONITOR_NONE, NULL, &error); g_object_unref (passwd_file); |