Public bug reported: Loïc Minier has reported that when using .hushlogin together with the latest pam_motd in karmic, an ssh to his system does not display the legal notice but does create the flag file in his home directory.
The reason for this appears to be that openssh honors .hushlogin, but does not notify PAM that messages should be suppressed. If openssh were passing the PAM_SILENT flag to the function calls in this case (pam_open_session in particular, but the flag applies to the other application function calls as well), pam_motd would know to be a no-op instead of thinking the messages had been passed to the user. ProblemType: Bug Architecture: amd64 Date: Fri Jul 17 13:50:39 2009 DistroRelease: Ubuntu 9.10 Package: openssh-server 1:5.1p1-6ubuntu1 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-3.19-generic SourcePackage: openssh Uname: Linux 2.6.31-3-generic x86_64 ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- openssh-server honors .hushlogin but doesn't tell PAM https://bugs.launchpad.net/bugs/400876 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs