oss-sec mailing list archives
Re: lightdm issues
From: Robert Ancell <robert.ancell () canonical com>
Date: Fri, 26 Aug 2011 14:51:08 +1000
On 25/08/11 00:08, Sebastian Krahmer wrote:
Hi, lightdm (0.9.2) which aims to be a xdm replacement seems to fall into the same pitfalls like kdm and gdm recently. There is a lot of uid 0 code creating and chown()ing files in user dirs such as for ~/.dmrc and ~/.Xauthority. Probably more, depending on how the permissions of cache and log directories are set up. For example process_start() also creates and chown()s logfiles on users behalf. There is also one thing that I dont understand about the lightdm user itself and why pam sessions seem to be started for it inside the greeter session code. The xdmcp code seems to be OK so far, after a quick review. l8er, -s
Hi Sebastian,Thanks for doing this review, this issue is now being tracked in the LightDM issue tracker:
https://bugs.launchpad.net/lightdm/+bug/834079Not sure what you mean in your question about the PAM sessions. The greeter object inside the daemon creates PAMSession objects which attempt to be authenticated, then passes the successful one to the session code which starts the PAM session. Might just be bad naming causing confusion? (I've been meaning to split this into PAMAuthentication and PAMSession objects).
--Robert
Current thread:
- lightdm issues Sebastian Krahmer (Aug 24)
- Re: lightdm issues Robert Ancell (Aug 26)
- Re: Re: lightdm issues Yves-Alexis Perez (Sep 07)
- Re: Re: lightdm issues Josh Bressers (Sep 09)
- Re: Re: lightdm issues Yves-Alexis Perez (Sep 07)
- Re: lightdm issues Robert Ancell (Aug 26)