Bug#764841: please use pam_exec to display "dynamic" motd
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/
Reply to: