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

2024-05-11 Thread Francois Mescam
I've tried again to login root on a virtual console. Every login produce 
the logs in auth.log.


Thanks for your help

--
Francois



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

2024-05-10 Thread Francois Mescam
Package: libpam-modules
Version: 1.5.3-7
Severity: normal

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

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-modules depends on:
ii  debconf [debconf-2.0]  1.5.86
ii  libaudit1  1:3.1.2-2
ii  libc6  2.38-7
ii  libcrypt1  1:4.4.36-4
ii  libdb5.3t645.3.28+dfsg2-7
ii  libpam-modules-bin 1.5.3-7
ii  libpam0g   1.5.3-7
ii  libselinux13.5-2+b2
ii  libsystemd0255.5-1

libpam-modules recommends no packages.

libpam-modules suggests no packages.

-- debconf information:
  libpam-modules/disable-screensaver:
  libpam-modules/profiles-disabled:
  libpam-modules/deprecate-tally: