Public bug reported:
Ubuntu version: Ubuntu 18.04.3 LTS
libpam-runtime: 1.1.8-3.6ubuntu2.18.04.1
In file /etc/pam.d/sshd there is part:
# Print the message of the day upon successful login.
# This includes a dynamically generated part from /run/motd.dynamic
# and a static (admin-editable) part from /etc/motd.
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
but it should be:
# Print the message of the day upon successful login.
# This includes a dynamically generated part from /run/motd.dynamic
# and a static (admin-editable) part from /etc/motd.
session optional pam_motd.so noupdate motd=/run/motd.dynamic
Current version runs update of dynamic part of motd on every login by ssh, what
is slowing it significantly and clearly is not what author had in mind.
** Affects: pam (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853714
Title:
libpam-runtime misconfigurred module option in /etc/pam.d/sshd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1853714/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs