Bug#735521: Bug#764841: please use pam_exec to display "dynamic" motd

Dmitry Bogatov KAction at debian.org
Thu Nov 8 11:48:27 GMT 2018

[2017-03-30 17:47] Faidon Liambotis <paravoid at debian.org>
> Two years later, the situation has changed a bit. Most of the fixes in
> the other packages are in. PAM was fixed to generate its contents under
> /run/motd.dynamic (#743286), login dropped its pam_exec call in favor of
> pam_motd (since 1:4.4-3) that Josh mentioned above, mimicking what SSH
> has been doing (and what Ubuntu has been doing for a long time).
> There is really no point in shipping /etc/init.d/motd anymore. It
> currently just runs "uname -snrvm > /var/run/motd.dynamic" but this is
> being regenerated by both login and sshd via pam_motd anyway on every
> login, so it's completely useless right now.

Seems it is true; both fgetty and dropbear use only /etc/motd, they will
not be affected.

> [... something about system ...]

What do you think, dear co-maintainers?

More information about the Debian-init-diversity mailing list