Hi,

        I've posted more info about this issue on launchpad:
https://bugs.launchpad.net/lightdm/+bug/1270118

> Because lightdm calls pam_chauthtok after a positive check on 
> PAM_NEW_AUTHTOK_REQD (from man page "The user account is valid but their 
> authentication token is expired") it should pass the 
> PAM_CHANGE_EXPIRED_AUTHTOK flag (from man page "This argument indicates to 
> the modules that the users authentication token (password) should only be 
> changed if it has expired").
> gdm3 uses the flag correctly (Wheezy gdm-session-worker.c:1291).

I've solved on Wheezy by

1) download lightdm debian source package: apt-get source lightdm
2) go to the source folder lightdm-1.2.2/src and edit session-child.c as
suggested
3) step-back to the lightdm-1.2.2 folder and run dpkg-buildpackage
-rfakeroot -uc -b (dpkg-buildpackage may require some packages to
proceed, it lists the required packages, install these with apt-get
install <package-list>)
4) if dpkg-buildpackage completes without errors you have your
lightdm_1.2.2-4_i386.deb (step-back to the initial folder)
5) stop lightdm (invoke-rc.d lightdm stop) and remove it (apt-get remove
lightdm)
6) install your lightdm package (dpkg -i lightdm_1.2.2-4_i386.deb) and
start it (invoke-rc.d lightdm start)

Regards

G.

<<attachment: giulio.vcf>>

_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to