[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#648604: Bug#648604: lightdm doesn't update utmp/wtmp



Hi Yves-Alexis,

while working to extend lightdm to btmp also, I read through the
upstream bug report again and saw that the last log issue was discussed
as well and it was in fact addressed.

In order to have lightdm write to the last log, you have to enable the
pam_lastlog.so module in /etc/pam.d/lightdm with:

session optional pam_lastlog.so

The last log is then written correctly. I therefore suggest to add the
aforementioned line to the lightdm PAM configuration file instead of
patching the code, thus ignoring my suggested patch.

Cheers,

Adrian




Reply to: