- Package:
- libpam-modules
- Source:
- libpam-modules
- Description:
- Pluggable Authentication Modules for PAM
- Submitter:
- Mourad De Clerck
- Date:
- 2025-01-21 00:09:02 UTC
- Severity:
- normal
I noticed the following line in my logs: login[2449]: PAM unable to dlopen(pam_lastlog.so): /usr/lib/security/pam_lastlog.so: cannot open shared object file: No such file or directory I looked in the deb files from snapshot.debian.org, and noticed the last version that had it was 1.5.2-9.1 - starting from 1.5.3-1 it disappeared. Maybe it's fallout from the time_t transition and you're already aware of it, in which case feel free to close. Thanks,
I don't know what the Debian pam maintainers intend to do about it, but this is surely the result of: https://github.com/linux-pam/linux-pam/commit/357a4ddbe9b4b10ebd805d2af3e32f3ead5b8816 A note in NEWS.Debian might be worthwhile.
Hi, [..] login should also stop having pam_lastlog.so in its PAM configuration, but this is something src:login needs to do. I've cloned this bug report to src:login for this part. I'll note that #1068017 has discussion about enabling pam_lastlog2.so, where we'd also appreciate your input regarding sshd, Colin. Chris
Yep, replied there.
Dear shadow maintainers, as originally requested, please drop pam_lastlog.so from the PAM config. Please also drop the lastlog binary, which isn't very useful when the data it is reading is not updated anymore. Chris
Apologies, this was the wrong half of the bug. I think in src:pam not much is to be done, except the NEWS.Debian entry? Chris
Hi. I wish I had noticed this back in May, but I missed it then and only ran across it while looking at the new pam build system. It looks like pam_lastlog was deprecated in pam 1.5, but *not* removed. It's a build time option, and it looks like it is still present in pam 1.7, which I hope to ship for trixie. I suspect it will eventually go away. But if we want pam_lastlog for one last release, that's easy to accomplish. Should I bring back pam_lastlog for trixie? I apologize I don't remember where we got with everything and whether this would help or just make more of a mess. Let me know what is desired.
* Sam Hartman <hartmans@debian.org> [250120 23:29]: [..] [..] No, please don't. We already have a release notes draft for pam_lastlog2 and the packaging and so on. Best, Chris
Chris> No, please don't. We already have a release notes draft for
Chris> pam_lastlog2 and the packaging and so on.
Confirmed.