lp:lightdm/1.18

Created by Robert Ancell and last modified
Get this branch:
bzr branch lp:lightdm/1.18
Members of LightDM Development Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
LightDM Development Team
Project:
Light Display Manager
Status:
Mature

Recent revisions

2355. By Robert Ancell

Fix timed autologins not using autologin-session when no session specified

2354. By Robert Ancell

Expose autologin-session as a hint to the greeter

Based on a patch by Roland Tapken.

2353. By Robert Ancell

Update debian/changelog

2352. By Tyler Hicks

Detect existing malicious guest user home dirs

It was discovered that a local attacker could watch for lightdm's
guest-account script to create a /tmp/guest-XXXXXX file and then quickly
create the lowercase representation of the guest user's home directory
before lightdm could. This allowed the attacker to have control of the
guest user's home directory and, subsequently, gain control of an
arbitrary directory in the filesystem which could lead to privilege
escalation.

This patch fixes the issue by detecting failures in creating a directory
for the guest user's home directory. If the file (directory, symlink,
etc.) already exists at the path, mkdir will fail and the script will
exit. This means that it is still possible for a local user to carry out
a denial of service on the guest user login feature.

2351. By Robert Ancell

Fix logic that checked if a session was being stopped

2350. By Robert Ancell

Use power management functions from ConsoleKit2 if available.

Suspend and hibernate functionality was removed from upower 0.99.0, so systems
not using systemd had now suspend/hibernate functionality. Support for this
was added into ConsoleKit2.

Most systems will either be systemd or ConsoleKit2 now, so we try the following:
1. Power management in logind
2. Power management in ConsoleKit
3. upower for suspend/resume (really only here to not break backwards
   compatibility)

Based on a patch for Gentoo by Fitzcarraldo.

2349. By Robert Ancell

Use liblightdm-gobject power methods instead of re-implementing in Qt, only run power fallback tests once

2348. By Robert Ancell

Fix incorrect unref in XDMCP code

2347. By Robert Ancell

Use SA_RESTART on signals so we don't get interrupted reads

2346. By Robert Ancell

Re-enable SIGPIPE for children so they have default behaviour

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lightdm
This branch contains Public information 
Everyone can see this information.