diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-09-13 15:12:29 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-09-13 15:12:29 +0000 |
commit | 8e217384f38cc0858e2ca6ba30e24e2c17d310ae (patch) | |
tree | cfc28164af9b80a901c9e08686c204db50a5447d /x11/gdm2/files/patch-ak | |
parent | Add sonicmail (diff) |
Initial release.
GNOME version of xdm display manager.
This gdm has been a headache for us, the GNOME
binary maintainer for FreeBSD. Half of patches are from
NetBSD pkgsrc system.
Thanks for NetBSD and TAKANO Yuji <takachan@running-dog.net>!
Notes
Notes:
svn path=/head/; revision=32582
Diffstat (limited to 'x11/gdm2/files/patch-ak')
-rw-r--r-- | x11/gdm2/files/patch-ak | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-ak b/x11/gdm2/files/patch-ak new file mode 100644 index 000000000000..7112d743b98f --- /dev/null +++ b/x11/gdm2/files/patch-ak @@ -0,0 +1,21 @@ +--- daemon/gdm.c.orig Wed Sep 13 01:04:25 2000 ++++ daemon/gdm.c Wed Sep 13 01:05:17 2000 +@@ -271,18 +271,12 @@ + else + GdmUserId = pwent->pw_uid; + +- if (GdmUserId==0) +- gdm_fail (_("gdm_config_parse: The gdm user should not be root. Aborting!")); +- + grent = getgrnam (GdmGroup); + + if (!grent) + gdm_fail (_("gdm_config_parse: Can't find the gdm group (%s). Aborting!"), GdmGroup); + else + GdmGroupId = grent->gr_gid; +- +- if (GdmGroupId==0) +- gdm_fail (_("gdm_config_parse: The gdm group should not be root. Aborting!")); + + setegid (GdmGroupId); /* gid remains `gdm' */ + seteuid (GdmUserId); |