I've looked into pam_motd, and found that it already has this code at
the top of the call:

    if (flags & PAM_SILENT) {
        return retval;
    }

So I think this is an openssh issue - openssh ought to be setting
PAM_SILENT in cases where it doesn't plan to show PAM_TEXT_INFO
messages, so that the PAM modules don't waste their time.

** Package changed: pam (Ubuntu) => openssh (Ubuntu)

** Changed in: openssh (Ubuntu)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/587858

Title:
  update-motd executed even in non-interactive sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/587858/+subscriptions

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

Reply via email to