commit: b5cd9e04a00beec05e7c01c75073e24bda0f0655 Author: Thibaud CANALE <thican <AT> thican <DOT> net> AuthorDate: Sun Feb 23 09:36:35 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 23 23:45:57 2025 +0000 URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=b5cd9e04
login.tpl: remove duplicated lastlog module call It displays two entries when authenticating through TTY, the last having the current time so pointless. Also it is not discarded in minimal configuration. First introduced in commit ae72ea9e54b7f5035fb6b3120c0e75e79860e819, tag pambase-20140313. Then imported for rework in commit 405452a4aa5a9ae06169b0aa1c394a4cae9c1c5c. Bug: https://bugs.gentoo.org/950186 Signed-off-by: Thibaud CANALE <thican <AT> thican.net> Closes: https://github.com/gentoo/pambase/pull/21 Signed-off-by: Sam James <sam <AT> gentoo.org> templates/login.tpl | 1 - tests/rendered/custom/login | 1 - tests/rendered/default/login | 1 - tests/rendered/minimal/login | 1 - 4 files changed, 4 deletions(-) diff --git a/templates/login.tpl b/templates/login.tpl index cb85249..98a0bf4 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -5,5 +5,4 @@ auth required pam_securetty.so auth include system-local-login account include system-local-login password include system-local-login -session optional pam_lastlog.so {{ debug|default('', true) }} session include system-local-login diff --git a/tests/rendered/custom/login b/tests/rendered/custom/login index e5a66f2..3139984 100644 --- a/tests/rendered/custom/login +++ b/tests/rendered/custom/login @@ -1,5 +1,4 @@ auth include system-local-login account include system-local-login password include system-local-login -session optional pam_lastlog.so session include system-local-login diff --git a/tests/rendered/default/login b/tests/rendered/default/login index e5a66f2..3139984 100644 --- a/tests/rendered/default/login +++ b/tests/rendered/default/login @@ -1,5 +1,4 @@ auth include system-local-login account include system-local-login password include system-local-login -session optional pam_lastlog.so session include system-local-login diff --git a/tests/rendered/minimal/login b/tests/rendered/minimal/login index e5a66f2..3139984 100644 --- a/tests/rendered/minimal/login +++ b/tests/rendered/minimal/login @@ -1,5 +1,4 @@ auth include system-local-login account include system-local-login password include system-local-login -session optional pam_lastlog.so session include system-local-login
