[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#764841: marked as done (please use pam_exec to display "dynamic" motd)



Your message dated Sun, 12 Sep 2021 10:31:09 +0200
with message-id <CAHt6kzEn3xZ_Vh3_BbPBqc4VBunzyW1Wh0LaHeH7CrQyO-cM=A@mail.gmail.com>
and subject line Closing
has caused the Debian Bug report #764841,
regarding please use pam_exec to display "dynamic" motd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
764841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764841
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openssh-server
Version: 1:6.6p1-8

As of systemd 208-7, the motd init script is masked and no longer runs
at boot. login was updated to replace its use of /run/motd.dynamic with
a pam_exec invocation:

| # Prints the message of the day upon succesful login.
| # (Replaces the `MOTD_FILE' option in login.defs)
| session    optional   pam_exec.so type=open_session stdout /bin/uname -snrvm
| session    optional   pam_motd.so

Please consider doing the same in openssh-server's pam configuration.

Thanks,
-- 
Romain Francoise <rfrancoise@debian.org>
http://people.debian.org/~rfrancoise/

--- End Message ---
--- Begin Message ---
[Cleaning up old bugs I have submitted over the years.]

On a current Debian system, motd handling is as I would expect it:
sshd's PAM configuration uses pam_motd, and update-motd outputs the
uname by default, as was the case before the change in 2014 which
prompted this bug report.

I'm therefore closing this one. If anything remains to be done about
openssh-server's motd support, we can always reopen or file a new bug.

--- End Message ---

Reply to: