2010-07-22 17:28:48 -0000, Dustin Kirkland:
> Patch to pam developed, tested, and pushed to lp:~kirkland/+junk/587858.
> Awaiting a quick review by Steve before uploading to Maverick.
[...]
Note that though this fix would be an improvement, in my
opinion, it's a fix to another bug like "the result of
update-motd is not cached". This bug is about motd being
computed in non-interactive non-login ssh sessions where
motd is not even displayed.
Maybe a fix/wa could be implemented by doing a
pam_putenv("PAM_NONLOGINSESSION=") in sshd upon non-login
sessions or hushedlogin ones and have pam_motd skip the
update-motd in that case.
Or split into two services sshd-login and sshd with
/etc/pam.d/sshd-login including sshd and adding the pam_motd...
2010-07-22 17:28:48 -0000, Dustin Kirkland:
> Patch to pam developed, tested, and pushed to lp:~kirkland/+junk/587858.
> Awaiting a quick review by Steve before uploading to Maverick.
[...]
Note that though this fix would be an improvement, in my
opinion, it's a fix to another bug like "the result of
update-motd is not cached". This bug is about motd being
computed in non-interactive non-login ssh sessions where
motd is not even displayed.
Maybe a fix/wa could be implemented by doing a "PAM_NONLOGINSE SSION=" ) in sshd upon non-login
pam_putenv(
sessions or hushedlogin ones and have pam_motd skip the
update-motd in that case.
Or split into two services sshd-login and sshd with d/sshd- login including sshd and adding the pam_motd...
/etc/pam.
Cheers,
Stephane