1 diff -ru gdm-2.2.5.4/daemon/gdm.c gdm-2.2.5.4-AX/daemon/gdm.c
2 --- gdm-2.2.5.4/daemon/gdm.c Wed Dec 5 05:29:09 2001
3 +++ gdm-2.2.5.4-AX/daemon/gdm.c Tue Feb 5 01:21:32 2002
5 gdm_fail (_("gdm_config_parse: Authdir %s is not a directory. Aborting."), GdmServAuthDir);
8 - if (statbuf.st_uid != GdmUserId || statbuf.st_gid != GdmGroupId) {
9 + if (statbuf.st_uid != 0 || statbuf.st_gid != GdmGroupId) {
10 char *s = g_strdup_printf (_("Server Authorization directory "
11 "(daemon/ServAuthDir) is set to %s "
12 "but is not owned by user %s and group "
13 "%s. Please correct the ownership or "
14 "gdm configuration %s and restart "
16 - GdmServAuthDir, GdmUser, GdmGroup,
17 + GdmServAuthDir, "root", GdmGroup,
19 gdm_text_message_dialog (s);
20 gdm_fail (_("gdm_config_parse: Authdir %s is not owned by user %s, group %s. Aborting."),
21 - GdmServAuthDir, GdmUser, GdmGroup);
22 + GdmServAuthDir, "root", GdmGroup);
25 - if (statbuf.st_mode != (S_IFDIR|S_IRWXU|S_IRGRP|S_IXGRP)) {
26 + if (statbuf.st_mode != (S_IFDIR|S_IRWXU|S_IRWXG)) {
27 char *s = g_strdup_printf (_("Server Authorization directory "
28 "(daemon/ServAuthDir) is set to %s "
29 "but has the wrong permissions, it "
30 - "should have permissions of 0750."
31 + "should have permissions of 0770."
32 "Please correct the permissions or "
33 "the gdm configuration %s and "
35 GdmServAuthDir, GDM_CONFIG_FILE);
36 gdm_text_message_dialog (s);
37 - gdm_fail (_("gdm_config_parse: Authdir %s has wrong permissions %o. Should be 0750. Aborting."),
38 + gdm_fail (_("gdm_config_parse: Authdir %s has wrong permissions %o. Should be 0770. Aborting."),
39 GdmServAuthDir, statbuf.st_mode);