summaryrefslogtreecommitdiff
path: root/daemon/gdm-display-access-file.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-08-21 15:26:49 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2008-08-21 15:26:49 +0000
commit8608d38da18c7bcd3c276bd507712aeb73eb5f20 (patch)
treefdb0b821002771d9fd2ff6f3b3b46816bd31f03f /daemon/gdm-display-access-file.c
parent5cc1f78b8262236ac05fea2cc4631e85c1b58508 (diff)
downloadgdm-8608d38da18c7bcd3c276bd507712aeb73eb5f20.tar.gz
A few more fixes to allow the gdm greeter username to be configured at
2008-08-21 William Jon McCann <jmccann@redhat.com> * daemon/gdm-display-access-file.c (_create_xauth_file_for_user): * data/Makefile.am: * data/gdm.schemas.in.in: A few more fixes to allow the gdm greeter username to be configured at build time. Patch from Patryk Zawadzki <patrys@pld-linux.org> Fixes #504565 svn path=/trunk/; revision=6408
Diffstat (limited to 'daemon/gdm-display-access-file.c')
-rw-r--r--daemon/gdm-display-access-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-display-access-file.c b/daemon/gdm-display-access-file.c
index 1f1658c9..05865e78 100644
--- a/daemon/gdm-display-access-file.c
+++ b/daemon/gdm-display-access-file.c
@@ -254,7 +254,7 @@ _create_xauth_file_for_user (const char *username,
}
g_chmod (GDM_XAUTH_DIR, S_ISVTX | S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
- _get_uid_and_gid_for_user ("gdm", &uid, &gid);
+ _get_uid_and_gid_for_user (GDM_USERNAME, &uid, &gid);
if (chown (GDM_XAUTH_DIR, 0, gid) != 0) {
g_warning ("Unable to change owner of '%s'",
GDM_XAUTH_DIR);