#1070869 libpam-modules: pam_lastlog.so does not exist

Package:
libpam-modules
Source:
libpam-modules
Description:
Pluggable Authentication Modules for PAM
Submitter:
Francois Mescam
Date:
2024-08-11 08:33:04 UTC
Severity:
normal
#1070869#5
Date:
2024-05-10 20:51:36 UTC
From:
To:
Dear Maintainer,

I observe in the logs :
May 10 08:49:16 xx login[1633]: PAM adding faulty module: pam_lastlog.so
May 10 08:49:16 xx login[1633]: PAM unable to dlopen(pam_lastlog.so): /usr/lib/security/pam_lastlog.so: cannot open shared object file: No such file or
+directory
May 10 08:49:23 xx login[1633]: pam_unix(login:session): session opened for user root(uid=0) by root(uid=0)
May 10 08:49:23 xx login[601537]: ROOT LOGIN  on '/dev/tty1'

I found that pam_lastlog.so does not exist in libpam-modules 1.5.3-7 but
it exists in 1.5.2-9.1+b1.

I don't know exactly what action produce the logs because I've tried to
log in a virtual console as root but no logs are produce again.

Kind regards

Francois

#1070869#10
Date:
2024-05-11 07:45:02 UTC
From:
To:
I've tried again to login root on a virtual console. Every login produce
the logs in auth.log.

Thanks for your help