So I had a look at this and pam_lastlog is used in the 'login' PAM service which is used for text logins. However it doesn't appear to be in the GDM PAM configuration.
So my questions are:
1. Does this work in GDM currently
2. How does GDM set it (i.e. is there another syscall we should be making in LightDM), and is the PAM method preferrable?
So I had a look at this and pam_lastlog is used in the 'login' PAM service which is used for text logins. However it doesn't appear to be in the GDM PAM configuration.
So my questions are:
1. Does this work in GDM currently
2. How does GDM set it (i.e. is there another syscall we should be making in LightDM), and is the PAM method preferrable?