openssh-server honors .hushlogin but doesn't tell PAM

Bug #400876 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Triaged
Low
Unassigned

Bug Description

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

Revision history for this message
Steve Langasek (vorlon) wrote :
Chuck Short (zulcss)
Changed in openssh (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.