[Bug 1856703] Re: Return only PAM_IGNORE or error from pam_motd
Balint Reczey
balint.reczey at canonical.com
Wed Feb 5 15:44:23 UTC 2020
Verified 1.3.1-5ubuntu1.19.10.1 on Eoan.
root at ee-proposed:~# login ubuntu
Password:
Last login: Wed Feb 5 15:40:20 UTC 2020 on UNKNOWN
Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-29-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Wed Feb 5 15:41:25 UTC 2020
System load: 0.56 Processes: 39
Usage of /home: unknown Users logged in: 0
Memory usage: 1% IP address for eth0: 10.84.73.86
Swap usage: 28%
28 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
*** System restart required ***
Permission denied
root at ee-proposed:~# dpkg -l libpam-modules
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-======================-============-========================================
ii libpam-modules:amd64 1.3.1-5ubuntu1.19.10.0 amd64 Pluggable Authentication Modules for PAM
root at ee-proposed:~# apt install -qqy libpam-modules=1.3.1-5ubuntu1.19.10.1 update-motd libpam-modules-bin=1.3.1-5ubuntu1.19.10.1
update-motd is already the newest version (3.6-0ubuntu1.19.10.1).
The following packages were automatically installed and are no longer required:
command-not-found-data libdumbnet1 libidn11 libip4tc0 libip6tc0 multiarch-support
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
libpam-modules libpam-modules-bin
2 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 288 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 32593 files and directories currently installed.)
Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu1.19.10.1_amd64.deb ...
Unpacking libpam-modules-bin (1.3.1-5ubuntu1.19.10.1) over (1.3.1-5ubuntu1.19.10.0) ...
Setting up libpam-modules-bin (1.3.1-5ubuntu1.19.10.1) ...
(Reading database ... 32593 files and directories currently installed.)
Preparing to unpack .../libpam-modules_1.3.1-5ubuntu1.19.10.1_amd64.deb ...
Unpacking libpam-modules:amd64 (1.3.1-5ubuntu1.19.10.1) over (1.3.1-5ubuntu1.19.10.0) ...
Setting up libpam-modules:amd64 (1.3.1-5ubuntu1.19.10.1) ...
Processing triggers for man-db (2.8.7-3) ...
root at ee-proposed:~# login ubuntu
Password:
Last login: Wed Feb 5 15:41:25 UTC 2020 on UNKNOWN
Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-29-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Wed Feb 5 15:42:22 UTC 2020
System load: 0.43 Processes: 39
Usage of /home: unknown Users logged in: 0
Memory usage: 1% IP address for eth0: 10.84.73.86
Swap usage: 29%
26 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
*** System restart required ***
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu at ee-proposed:~$ dpkg -l libpam-modules
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-======================-============-========================================
ii libpam-modules:amd64 1.3.1-5ubuntu1.19.10.1 amd64 Pluggable Authentication Modules for PAM
ubuntu at ee-proposed:~$ logout
root at ee-proposed:~# grep success=die /etc/pam.d/login
session [success=die ignore=ignore] pam_motd.so motd=/run/motd.dynamic
** Tags removed: verification-needed verification-needed-eoan
** Tags added: verification-done verification-done-eoan
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1856703
Title:
Return only PAM_IGNORE or error from pam_motd
Status in pam package in Ubuntu:
Fix Released
Status in pam source package in Eoan:
Fix Committed
Bug description:
https://github.com/linux-pam/linux-pam/pull/157
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1856703/+subscriptions
More information about the foundations-bugs
mailing list