Re: xscreensaver says missing pam_lastlog.so?

Samuel Sieb <[email protected]>
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
On 6/2/26 11:08 PM, [email protected] wrote:
> 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.

Looks like it should be lastlog2 now.
Is that file a symlink?
Try running "authselect select local".  Add "-f" to the command if it 
doesn't work the first time.  That will reset the pam settings to the 
default.

-- 
_______________________________________________
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.