From 4ef6823ff4d342f144dfca9eaaa4ffe5b46a1258 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 14 Jun 2018 11:26:16 -0400 Subject: [PATCH] Add pam_motd to the PAM stack This will allow Cockpit to update /etc/motd.d/cockpit with information informing the user of the location of the admin console on the system if it is available. Resolves: rhbz#1591381 Signed-off-by: Stephen Gallagher --- sshd.pam | 1 + 1 file changed, 1 insertion(+) diff --git a/sshd.pam b/sshd.pam index 4354458..780f62e 100644 --- a/sshd.pam +++ b/sshd.pam @@ -12,5 +12,6 @@ session required pam_loginuid.so session required pam_selinux.so open env_params session required pam_namespace.so session optional pam_keyinit.so force revoke +session optional pam_motd.so session include password-auth session include postlogin