openssh-server honors .hushlogin but doesn't tell PAM
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
ProcVersionSign
SourcePackage: openssh
Uname: Linux 2.6.31-3-generic x86_64
Changed in openssh (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |