From b6e8d920e20040f6631761cc3e5a2a7add6c12c651c3aadde069aee60ae6bf01 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 8 Jun 2021 06:36:00 +0000 Subject: [PATCH] Accepting request 897344 from home:kukuk:tiu - Disable MOTD_FILE to allow the use of pam_motd to unify motd message output [bsc#1185897]. Else motd entries of e.g. cockpit will not be shown. OBS-URL: https://build.opensuse.org/request/show/897344 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=103 --- shadow-login_defs-suse.patch | 3 ++- shadow.changes | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/shadow-login_defs-suse.patch b/shadow-login_defs-suse.patch index db3c694..ea0191d 100644 --- a/shadow-login_defs-suse.patch +++ b/shadow-login_defs-suse.patch @@ -14,12 +14,13 @@ Index: etc/login.defs # # Delay in seconds before being allowed another attempt after a login failure -@@ -62,8 +65,7 @@ CONSOLE /etc/securetty +@@ -62,8 +65,8 @@ CONSOLE /etc/securetty # If defined, ":" delimited list of "message of the day" files to # be displayed upon login. # -MOTD_FILE /etc/motd -#MOTD_FILE /etc/motd:/usr/lib/news/news-motd ++MOTD_FILE +#MOTD_FILE /etc/motd:/usr/share/misc/motd # diff --git a/shadow.changes b/shadow.changes index 85095e8..4489f70 100644 --- a/shadow.changes +++ b/shadow.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 4 07:46:34 UTC 2021 - Thorsten Kukuk + +- Disable MOTD_FILE to allow the use of pam_motd to unify motd + message output [bsc#1185897]. Else motd entries of e.g. cockpit + will not be shown. + ------------------------------------------------------------------- Thu Jan 28 22:28:02 UTC 2021 - Stanislav Brabec