I can confirm that 16.04 and 18.04 are also affected:
# Ubuntu 16.04
root@xxx:~# lsb_release -d
Description: Ubuntu 16.04.5 LTS
root@xxx:~# apt list libsss-sudo
Listing... Done
libsss-sudo/xenial-updates,now 1.13.4-1ubuntu1.12 amd64 [installed,automatic]
N: There are 2 additional versions. Please use the '-a' switch to see them.
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files
root@xxx:~# apt install --reinstall libsss-sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/13.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 105169 files and directories currently installed.)
Preparing to unpack .../libsss-sudo_1.13.4-1ubuntu1.12_amd64.deb ...
Unpacking libsss-sudo (1.13.4-1ubuntu1.12) over (1.13.4-1ubuntu1.12) ...
Setting up libsss-sudo (1.13.4-1ubuntu1.12) ...
Checking NSS setup...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files sss
# Ubuntu 18.04
root@xxx:~# lsb_release -d
Description: Ubuntu 18.04.1 LTS
root@xxx:~# apt list libsss-sudo
Listing... Done
libsss-sudo/bionic,now 1.16.1-1ubuntu1 amd64 [installed,automatic]
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files
root@xxx:~# apt install --reinstall libsss-sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/13.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 112584 files and directories currently installed.)
Preparing to unpack .../libsss-sudo_1.16.1-1ubuntu1_amd64.deb ...
Unpacking libsss-sudo (1.16.1-1ubuntu1) over (1.16.1-1ubuntu1) ...
Setting up libsss-sudo (1.16.1-1ubuntu1) ...
Checking NSS setup...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files sss
As here a config file is changed by a package update/reinstall, which could have unwanted side effects and is unnoticed by the user, I think this should be fixed for the LTS releases.
I can confirm that 16.04 and 18.04 are also affected:
# Ubuntu 16.04 sudo/xenial- updates, now 1.13.4-1ubuntu1.12 amd64 [installed, automatic] sudo_1. 13.4-1ubuntu1. 12_amd64. deb ... 1ubuntu1. 12) over (1.13.4- 1ubuntu1. 12) ... 1ubuntu1. 12) ...
root@xxx:~# lsb_release -d
Description: Ubuntu 16.04.5 LTS
root@xxx:~# apt list libsss-sudo
Listing... Done
libsss-
N: There are 2 additional versions. Please use the '-a' switch to see them.
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files
root@xxx:~# apt install --reinstall libsss-sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/13.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 105169 files and directories currently installed.)
Preparing to unpack .../libsss-
Unpacking libsss-sudo (1.13.4-
Setting up libsss-sudo (1.13.4-
Checking NSS setup...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files sss
# Ubuntu 18.04 sudo/bionic, now 1.16.1-1ubuntu1 amd64 [installed, automatic] sudo_1. 16.1-1ubuntu1_ amd64.deb ...
root@xxx:~# lsb_release -d
Description: Ubuntu 18.04.1 LTS
root@xxx:~# apt list libsss-sudo
Listing... Done
libsss-
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files
root@xxx:~# apt install --reinstall libsss-sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/13.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 112584 files and directories currently installed.)
Preparing to unpack .../libsss-
Unpacking libsss-sudo (1.16.1-1ubuntu1) over (1.16.1-1ubuntu1) ...
Setting up libsss-sudo (1.16.1-1ubuntu1) ...
Checking NSS setup...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@xxx:~# grep sudo /etc/nsswitch.conf
sudoers: files sss
As here a config file is changed by a package update/reinstall, which could have unwanted side effects and is unnoticed by the user, I think this should be fixed for the LTS releases.