Re: xscreensaver says missing pam_lastlog.so?

[email protected]
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
Thanks Samuel,

On 6/3/26 15:43, Samuel Sieb wrote:
> On 6/2/26 8:34 PM, [email protected] wrote:
>> I notice that whenever I unlock the screen (following a "lock screen") I get this in the system log:
>>
>> 2026-06-03T13:18:43+10:00 xscreensaver-auth[615805]: PAM unable to dlopen(/usr/lib64/security/pam_lastlog.so): /usr/lib64/security/ pam_lastlog.so: cannot open shared object file: No such file or directory
>> 2026-06-03T13:18:43+10:00 xscreensaver-auth[615805]: PAM adding faulty module: /usr/lib64/security/pam_lastlog.so
>>
>> There is no pam_lastlog.so on my system and dnf says no package is providing it.
> 
> 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.

====
#%PAM-1.0
# [ 3 Jun 26 EL] Remove pam_lastlog.so
session optional                   pam_umask.so silent
session [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet
session [default=1]                pam_lastlog.so nowtmp showfailed
session optional                   pam_lastlog.so silent noupdate showfailed
=====

-- 
Eyal at Home ([email protected])
-- 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.