Hello, Upstream PAM has added support for /etc/motd.d in the pam_motd module, and we intend to use this to display a hint about cockpit when the user logs in at the console. Can you please distro-patch this? It's upstream already, but PAM doesn't release often.
We need to make upstream release, there are many changes already. I'll talk with other upstream developers.
pam-1.3.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d36aeb7f22
pam-1.3.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d36aeb7f22
pam-1.3.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.