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...

Cheers,
Stephane

-- 
update-motd executed even in non-interactive sessions
https://bugs.launchpad.net/bugs/587858
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to