From 93d19ccfe65ab3cc288e3b7a773eddbff5351254 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 22 Jun 2025 09:00:27 +0200 Subject: [PATCH] Disabling motd for login. Signed-off-by: Daniel Baumann --- debian/login.pam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/login.pam b/debian/login.pam index 3da155c..a6b22a0 100644 --- a/debian/login.pam +++ b/debian/login.pam @@ -30,8 +30,8 @@ session required pam_loginuid.so # (Replaces the `MOTD_FILE' option in login.defs) # This includes a dynamically generated part from /run/motd.dynamic # and a static (admin-editable) part from /etc/motd. -session optional pam_motd.so motd=/run/motd.dynamic -session optional pam_motd.so noupdate +#session optional pam_motd.so motd=/run/motd.dynamic +#session optional pam_motd.so noupdate # SELinux needs to intervene at login time to ensure that the process # starts in the proper default security context. Only sessions which are