empty autologin-user should not be passed to PAM
Bug #817581 reported by
Guido Berhoerster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Undecided
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
If autologin-user in lightdm.conf is set to an empty string this should not be passed on to PAM. At least with the pam_permit module from Linux PAM which is usually employed for password-less login on Linux setting the username to an empty string will result in a successful login as the "nobody" user. This is probably never desirable.
See the attached patch for a proposed fix.
Related branches
lp://qastaging/~mterry/lightdm/empty-autologin
- LightDM Development Team: Pending requested
-
Diff: 29 lines (+7/-1)2 files modifiedsrc/display.c (+1/-1)
src/seat.c (+6/-0)
tags: | added: patch |
Changed in lightdm: | |
status: | New → Fix Committed |
Changed in lightdm (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for your work there, Robert, Michael could you review the patch? Not sure if that would solve the liveCD case but seems similar