Index: session.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/session.c,v
retrieving revision 1.282
diff -u -p -r1.282 session.c
--- session.c	22 Jun 2004 02:57:09 -0000	1.282
+++ session.c	29 Jun 2004 12:11:59 -0000
@@ -1431,6 +1431,13 @@ do_child(Session *s, const char *command
 #else /* HAVE_OSF_SIA */
 		do_nologin(pw);
 		do_setusercontext(pw);
+		/*
+		 * PAM session modules in do_setusercontext may have
+		 * generated messages, so if this in an interactive
+		 * login then display them too.
+		 */
+		if (command == NULL)
+			display_loginmsg();
 #endif /* HAVE_OSF_SIA */
 	}
 
