This bug was fixed in the package shadow - 1:4.2-3.1ubuntu1
---
shadow (1:4.2-3.1ubuntu1) xenial; urgency=low
* Merge from Debian unstable.
- Includes pam_loginuid in login PAM config. LP: #1067779.
- Fixes typo in usermod -h output. LP: #1348873.
* Remaining changes:
Although /run/motd.dynamic is being updated, it's being updated after
being displayed, which is why you see the old one from the previous
login. After commenting out the second line with no arguments:
sessionoptional pam_motd.so # [1]
/run/motd.dynamic was no longer being updated on
Same here on 14.04 , MOTD doen't get updated.
/etc/pam.d/login:
[...]
sessionoptional pam_motd.so motd=/run/motd.dynamic noupdate
sessionoptional pam_motd.so
[...]
/etc/pam.d/sshd:
[...]
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
Hello: This affects my server(s), 14.04.2 LTS. In fact I just logged in
and got information that was 11 days old. I rely on the welcome message
especially to tell me when I need to REBOOT for some automatically-
installed (perhaps security) updates to be fully applied. Perhaps a
wiser sysadmin
** Changed in: shadow (Ubuntu)
Assignee: Colin Watson (cjwatson) = (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1368864
Title:
old motd is displayed on
This is a bug in the /etc/pam.d/login configuration, which has:
sessionoptional pam_motd.so motd=/run/motd.dynamic noupdate
sessionoptional pam_motd.so
This tells login to display the dynamic motd /without updating it/, and
then to call pam_motd again for the static motd... and
** Changed in: pam (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1368864
Title:
old motd is displayed on login
Status in “pam”
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pam (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pam in Ubuntu.
8 matches
Mail list logo