1. 18 Sep, 2003 1 commit
  2. 13 Aug, 2003 1 commit
  3. 28 Jul, 2003 1 commit
  4. 24 Jul, 2003 1 commit
    • Jiri (George) Lebl's avatar
      change some g_strconcat's to g_build_filename's to address #118040. still · 405013a3
      Jiri (George) Lebl authored
      
      Thu Jul 24 14:58:23 2003  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.c, daemon/slave.c, daemon/auth.c: change some
      	  g_strconcat's to g_build_filename's to address #118040.
      	  still more need to be converted
      
      	* gdm.spec.in, daemon/gdm.h, config/gdm.conf.in, config/Makefile.am,
      	  configure.in: By default use logdir of /var/log/gdm just
      	  like redhat does it
      
      	* daemon/gdm.c: check logdir to exist and if not set it to
      	  ServAuthDir
      
      	* gdm.spec.in, daemon/gdm.c, config/Makefile.am:  Make the
      	  ServAuthDir permissions to be 1770 with owenership root.gdm.
      	  That makes it impossible for the gdm user to run DoS attacks
      	  against the gdm daemon (though without any process limits set
      	  it can still somewhat do that)
      
      	* daemon/slave.c, daemon/display.c, daemon/gdm.c, daemon/misc.c,
      	  daemon/server.c: Hunt more races and hangs.  Make sure we really
      	  don't do anything bad in signal handlers by making a setjmp
      	  at the beginning of the slave_start function and returning
      	  there from signal handlers to do final cleanup kind of stuff.
      	  Also when we are receiving TERM signals while waiting on stuff
      	  to die, be very un-nice to things and SIGKILL them.  Also stop
      	  using sleep if we might be using alarm at the same time.
      
      	* daemon/display.c: whack non-useful signal block push on unmanage,
      	  and if we get a TERM signal while waiting on the slave, then send
      	  a TERM signal to the slave again.
      
      	* daemon/errorgui.c: set USER, USERNAME and LOGNAME to "gdm" so that
      	  they don't end up root by some mistake
      
      	* daemon/slave.c: Use home of root rather then /root for the home
      	  directory of gdmsetup.  Also if we can't change to the home
      	  directory chdir to / instead of leaving it at servauthdir.
      	  Be anal about COOKIEs in the logfile.  Also when things go
      	  just a bit wrong and not completely whacko, don't ABORT but
      	  just REMANAGE, the toplevel loop of death will handle things
      	  for us correctly.  And setsid a very close to the start of
      	  the session to avoid a race ABORTing a display by mistake.
      
      	* daemon/slave.c: make the PostLogin behave just like PostSession
      	  with respect to the return value
      
      	* daemon/verify-pam.c: avoid races on termination with the
      	  verify_cleanup and handle some cases where crashes may (but
      	  should not) occur.
      
      	* daemon/gdm.c: whack unneeded signal blockers (the main daemon
      	  is all async with a nice mainloop)
      
      	* gui/gdmchooser.c: handle HUP gracefully, when one of the
      	  config options we care about changes just restart self
      	  instead of
      
      	* gui/gdmlogin.c, gui/greeter/greeter_item_ulist.c: make
      	  the username bold
      
      	* docs/C/gdm.xml: update the PostLogin behaviour and the permissions
      	  on the ServAuthDir
      405013a3
  5. 11 Jun, 2003 1 commit
    • Jiri (George) Lebl's avatar
      Sync defaults into with the header file. Add comment about the gtk modules · 8f053918
      Jiri (George) Lebl authored
      Wed Jun 11 16:04:02 2003  George Lebl <jirka@5z.com>
      
      	* configure.in, daemon/gdm.h, config/gdm.conf.in: Sync defaults into
      	  with the header file.  Add comment about the gtk modules stuff
      	  and make it default to what you'd normally have for accessibility
      	  (though it doesn't add them by default).  The gdm.h defaults to
      	  no modules though.  Also if we can't find an X server, default
      	  to the Linux setup so that the beast at least builds.
      
      	* docs/Makefile.am: actually include the theme document, DUH!
      8f053918
  6. 09 Jun, 2003 1 commit
  7. 03 Jun, 2003 1 commit
    • Jiri (George) Lebl's avatar
      whack gdmmktemp since it wasn't being used, move gdmaskpass and gdmopen to · 5d162dd3
      Jiri (George) Lebl authored
      Tue Jun 03 13:37:31 2003  George Lebl <jirka@5z.com>
      
      	* gdm.spec.in, configure.in, utils/Makefile.am, daemon/server.c,
      	  daemon/misc.c, daemon/gdm.c, config/XkeepsCrashing:
      	  whack gdmmktemp since it wasn't being used, move gdmaskpass and
      	  gdmopen to libexec since that's where they really belong
      
      	* daemon/gdm.h, config/gdm.conf.in, gui/gdmchooser.(c|glade): add an
      	  "Add" entry and button so that, we can add random hosts by typing
      	  their name.  Add chooser/AllowAdd config key (default to true)
      	  that controls if this is available.  Also fix up the updating of
      	  the icon list.  it was incredibly evil and rebuilt the list each
      	  time a host packet came in, this compounded with the fact that
      	  we were pinging 3 times (at least the broadcast to which everyone
      	  answers).  Also make this run fairly sanely outside of GDM,
      	  so that you can really just run it from anywhere if you really
      	  wish (mostly for debugging, though I imagine some other uses might
      	  pop up).
      5d162dd3
  8. 09 Apr, 2003 1 commit
    • Niall Power's avatar
      Detect Xsun xinerama and Xdmcp on Solaris. Patch by Brian Cameron · dececcd4
      Niall Power authored
      * acconfig.h, configure.in: Detect Xsun xinerama and Xdmcp on Solaris. Patch
        by Brian Cameron (Brian.Cameron@Sun.COM)
      * config/gdm.conf.in: set Xserver paths correctly for both XFree86 and Xsun
        Patch by Brian Cameron (Brian.Cameron@Sun.COM)
      * daemon/slave.c, gui/Makefile.am gui/gdmwm.c: added Xinerama support for
        Solaris/Xsun platforms.
      dececcd4
  9. 09 Jul, 2002 1 commit
    • Jiri (George) Lebl's avatar
      if available include <sys/sockio.h>. Should fix first part of #86679 · 1747a04d
      Jiri (George) Lebl authored
      Mon Jul 08 20:01:23 2002  George Lebl <jirka@5z.com>
      
      	* configure.in, acconfig.h, daemon/misc.c, gui/gdmchooser.c:
      	  if available include <sys/sockio.h>.  Should fix first
      	  part of #86679
      
      	* gui/Makefile.am: link gdmsetup and gdmflexiserver with -lXau,
      	  should fix second part of #86679
      
      	* gui/gdmwm.c: Fix #86620, don't set up the wm stuff if the
      	  substructureredirect selection fails on the root window.
      
      	* daemon/slave.c: don't clear the env for chooser, greeter and
      	  config.  I suppose it was fairly foolish to do so anyway.
      	  Should fix #87387 partly
      
      	* configure.in, daemon/gdm.in, daemon/Makefile.am: rename
      	  gdm to gdm-binary and install a new script called gdm
      	  which calls gdm-binary.  This way the standard env is
      	  read in and other good stuff can happen.  Should fix #87387
      	  completely
      
      	* gui/gdmchooser.c, gui/gdmlogin.c: properly center windows
      
      	* gui/gdmchooser.c: don't die on every minor problem, and
      	  fix querying the interfaces
      
      	* gui/gdmchooser.c, gui/gdmsetup.c: fix crashes and the event
      	  fixup function
      
      	* gui/gdmchooser.glade: fix signal connections so that we can
      	  actually select some host
      1747a04d
  10. 21 May, 2002 1 commit
    • Jiri (George) Lebl's avatar
      check for setresuid · 7bef5408
      Jiri (George) Lebl authored
      Tue May 21 15:12:51 2002  George Lebl <jirka@5z.com>
      
      	* configure.in, accconfig.h: check for setresuid
      
      	* daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really
      	  get rid of setuidiness
      
      	* gui/gdmlogin.c: fix accelerators.  Since now we have nice
      	  visible accelerators (mnemonics) we no longer need the Esc one
      	  which wasn't working anyway
      
      	* daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c:  Don't init
      	  gnome.  This only breaks the getting of the gnome pixmap dir, so
      	  whack the places where this is done.  It's not a big deal really.
      	  And not initting things really helps a lot in both init speed,
      	  random crashes, hangs, and security.
      
      	* daemon/slave.c, daemon/errorgui.[ch], config/Xsession:  Now
      	  we open the .xsession-errors file early on, in fact for all
      	  non-failsafe sessions.  If the session is less then 10 seconds
      	  long warn the user of possible errors and let him view the
      	  .xsession-errors file.
      
      	* daemon/slave.c, daemon/auth.c: give error output when we can't
      	  setup the authentication file.
      
      	* daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash
      	  for the error gui boxes
      
      	* daemon/verify-pam.c: fix typo
      7bef5408
  11. 17 May, 2002 1 commit
    • Jiri (George) Lebl's avatar
      Use BSD's setusercontext if found. If language is unset and there is no · 44da90ee
      Jiri (George) Lebl authored
      Fri May 17 16:10:15 2002  George Lebl <jirka@5z.com>
      
      	* daemon/misc.c, daemon/slave.c, configure.in, acconfig.h: Use BSD's
      	  setusercontext if found.  If language is unset and there is no
      	  saved preference then if we're using setusercontext don't reset
      	  LANG so that the users login.conf preference takes over
      
      	* daemon/gdm.h, gui/gdmlogin.c, gui/gdmsetup.c: Add a new key
      	  greeter/MinimalUID which sets the minimal uid which is needed
      	  to show up in the browser or the dropdown list in gdmsetup
      
      	* daemon/gdmlogin.c: whack the "*" checking in the password field,
      	  since we may get it normally
      44da90ee
  12. 22 Jan, 2002 1 commit
    • Jiri (George) Lebl's avatar
      use GETTEXT_PACKAGE · a28569fe
      Jiri (George) Lebl authored
      Mon Jan 21 19:14:28 2002  George Lebl <jirka@5z.com>
      
      	* acconfig.h, configure.in: use GETTEXT_PACKAGE
      
      	* daemon/gdm.c, daemon/misc.[ch], daemon/verify-pam.c,
      	  daemon/server.c, daemon/slave.c, daemon/display.c:
      	  When displaying something on a console display it only
      	  when the console is UTF-8, which is only true if
      	  "gdmopen vt-is-UTF8 -q" returns 0 status.  Else don't
      	  actually translate anything and just print out the english/ASCII
      	  version.
      
      	* daemon/verify-pam.c:  Better check for existance of the pam
      	  gdm configuration
      
      	* daemon/gdm.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
      	  gui/gdmconfig.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
      	  gui/gdmphotosetup.c:  property bind gettext stuff and make
      	  sure we correctly set it up for UTF-8
      a28569fe
  13. 05 Jun, 2001 1 commit
    • Jiri (George) Lebl's avatar
      remove unused opcode (GDM_STOP) · ab1e1168
      Jiri (George) Lebl authored
      Sun Jun 03 04:55:49 2001  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.h: remove unused opcode (GDM_STOP)
      
      	* daemon/slave.c, gui/gdmlogin.c: On GDM_QUIT the login will make
      	  sure to quickly quit and in the slave we no longer kill it to
      	  avoid a possible race, also try to avoid other races todo with
      	  killing things.  Also fclose the greeter channel to avoid a leak.
      
      	* daemon/gdm.h, daemon/slave.c: get the size of the screen from
      	  xinerama and center error dialog stuff.
      ab1e1168
  14. 10 May, 2001 1 commit
  15. 06 May, 2001 1 commit
  16. 24 Apr, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Fixup enviroment issues. Clear the environment before running a session · bf2d3e2c
      Jiri (George) Lebl authored
      Mon Apr 23 22:04:24 2001  George Lebl <jirka@5z.com>
      
      	* configure.in, acconfig.h, daemon/auth.c, daemon/misc.[ch],
      	  daemon/slave.c, daemon/verify.h,
      	  daemon/verify-(pam|crypt|shadow).h:  Fixup enviroment issues.
      	  Clear the environment before running a session and before launching
      	  the greeter (taking care to save the localisation vars).  Also
      	  don't set user env on the slave and leave it, if we set it it's
      	  only temporary.  Also fix one possible crash by strduping the
      	  pam env since that will go away and putenv doesn't strdup.
      bf2d3e2c
  17. 01 Feb, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Apply an port a patch from <tim.jansen@systembureau.com>, furhter modified · a1bcfb25
      Jiri (George) Lebl authored
      Thu Feb 01 17:05:54 2001  George Lebl <jirka@5z.com>
      
      	* Apply an port a patch from <tim.jansen@systembureau.com>,
      	  furhter modified default config (config/gdm.conf.in) and the
      	  configuratior (gui/gdmconfig.c) to include the screen option
      
      	* gui/gdmlogin.c, configure.in: added support for Xinerama,
                the new key greeter/XineramaScreen selects on which screen the
                greeter will be centered
      a1bcfb25
  18. 16 Aug, 1999 1 commit
    • 6's avatar
      SGML-ified manual. Only bare bones so far. · f280cfd5
      6 authored
      1999-08-16    <mkp@mkp.net>
      
      	* docs/C/gdm.sgml: SGML-ified manual. Only bare bones so far.
      
      	* configure.in: Check whether crypt.h exists. Gnome bug #1925.
      f280cfd5
  19. 11 Aug, 1999 1 commit
    • 1's avatar
      Nailed down the bug that has been haunting me the past couple of days. gdm · 05e9b486
      1 authored
      
      1999-08-11    <mkp@mkp.net>
      
      	* daemon/auth.c: Nailed down the bug that has been haunting me the
       	past couple of days. gdm no longer corrupts ~user/.Xauthority if
       	it contains ``foreign'' cookies.
      
      1999-08-08    <mkp@mkp.net>
      
      	Finally merged the Ottawa megapatch:
      
      	* daemon/auth.c: Real XAuth implementation. Doesn't rely on
       	/usr/bin/X11/xauth anymore.
      
      	* gui/gdmlogin.c: Implemented browser functionality.
      
      	* gui/gdmconfig.c: First shot at a graphical configuration tool.
      
      	* gui/gdmface.c: Face selector capplet.
      
      1999-08-07    <mkp@mkp.net>
      
      	* Replaced gdm_putenv() with calls to setenv() as putenv() is
       	broken by specification.
      
      1999-08-02    <mkp@mkp.net>
      
      	* md5.c, md5.h, cookie.c: Fixed MD5 endianness problem (Reported
       	by <gewrgiou@imbc.gr>, bugzilla 3898).
      05e9b486
  20. 18 Apr, 1999 1 commit