diff mbox series

[meta-selinux,scarthgap] shadow: remove dependency on pam-plugin-lastlog

Message ID 28cfcf5e-2218-49bc-975b-365ae4117934@gmail.com
State New
Headers show
Series [meta-selinux,scarthgap] shadow: remove dependency on pam-plugin-lastlog | expand

Commit Message

Clayton Casciato Jan. 13, 2026, 2:58 p.m. UTC
From:
https://git.openembedded.org/openembedded-core/commit/?h=scarthgap&id=04f3c3e335bf5e7c3a12ccc97fda9a8c214135d0

This item has been deprecated in pam 1.5.3 and is no longer
built by default:
https://github.com/linux-pam/linux-pam/blob/master/NEWS

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
---
Sponsor: 21SoftWare LLC

 recipes-extended/shadow/files/pam.d/login | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/recipes-extended/shadow/files/pam.d/login b/recipes-extended/shadow/files/pam.d/login
index ec5bba9..1c3659e 100644
--- a/recipes-extended/shadow/files/pam.d/login
+++ b/recipes-extended/shadow/files/pam.d/login
@@ -64,10 +64,6 @@  auth       optional   pam_group.so
 # (Replaces the use of /etc/limits in old login)
 session    required   pam_limits.so
 
-# Prints the last login info upon succesful login
-# (Replaces the `LASTLOG_ENAB' option from login.defs)
-session    optional   pam_lastlog.so
-
 # Prints the motd upon succesful login
 # (Replaces the `MOTD_FILE' option in login.defs)
 session    optional   pam_motd.so