Re: xscreensaver says missing pam_lastlog.so?
Francis Montagnac via users <[email protected]>
| Newsgroups | gmane.linux.redhat.fedora.general |
|---|---|
| Message-ID | <20260603084400.5b213f37@fmpc> |
On Wed, 3 Jun 2026 16:08:36 +1000 [email protected] wrote: > On 6/3/26 15:43, Samuel Sieb wrote: >> Look in /etc/pam.d/xscreensaver. Remove any lines referencing lastlog. > Not mentioned there. > However I see it in /etc/pam.d/postlogin, so removing it. Beware, /etc/pam.d/postlogin is normally managed by authselect. I have that on my F44 install: + authselect current Profile ID: local Enabled features: - with-silent-lastlog - with-fingerprint - with-mdns4 + ls -l /etc/pam.d/postlogin lrwxrwxrwx. 1 root root 25 May 10 19:37 /etc/pam.d/postlogin -> /etc/authselect/postlogin + cat /etc/authselect/postlogin # Generated by authselect # Do not modify this file manually, use authselect instead. Any user changes will be overwritten. # You can stop authselect from managing your configuration by calling 'authselect opt-out'. # See authselect(8) for more details. session optional pam_umask.so silent session [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet session [default=1] pam_lastlog2.so silent session optional pam_lastlog2.so silent + cat /usr/share/authselect/default/local/postlogin auth optional pam_ecryptfs.so unwrap {include if "with-ecryptfs"} password optional pam_ecryptfs.so unwrap {include if "with-ecryptfs"} session optional pam_umask.so silent session [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet session [default=1] pam_lastlog2.so {if "with-silent-lastlog":silent} session optional pam_lastlog2.so silent This shows that pam_lastlog has been replaced by pam_lastlog2. See: https://discussion.fedoraproject.org/t/gdm-crashes-after-upgrade-to-fedora-43-due-to-authselect-migration/171961 https://fedoraproject.org/wiki/Changes/Migrate_to_lastlog2 -- francis -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new