Public bug reported:

About System

Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Systemc : KVM VM

About Package

libpam-runtime:
  Installed: 1.5.3-5ubuntu5.5
  Candidate: 1.5.3-5ubuntu5.5

Steps to Reproduce :

1) Install Ubuntu Server 24.04 LTS (no manual PAM modifications).
2) Log in via console or SSH.
3) Run: sudo journalctl -p 3 -xb
4) Observe pam_lastlog.so errors :
PAM unable to dlopen(pam_lastlog.so): cannot open shared object file: No such 
file or directory


Suggested Fix in /etc/pam.d/login

Commenting out this line :
session    optional   pam_lastlog.so 

Adding this line : 
session optional pam_motd.so motd=/var/run/motd.dynamic

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130398

Title:
  Ubuntu Server 24.04 PAM config still references removed
  pam_lastlog.so, causing login errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/2130398/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to