I followed Tom's REPRODUCTION test, and got exactly what Tom said I would.
I can confirm the issue with 256 character passwords.
(I used `wc` to count characters in my buffer)
I could set the 256 character password (I used it with a backspace to
enter the old password, so it was only 1 character longer) but it
wouldn't then let me use it for the next `sudo whoami`.
x86 Lubuntu 19.04 (fully-updated) box
OS: Ubuntu Disco Dingo (development branch) i686
Host: HP Compaq dx6120 MT(PL926AV)
Kernel: 5.0.0-8-generic
Uptime: 14 mins
Packages: 1968 (dpkg)
Shell: bash 5.0.2
Theme: Arc-Darker [GTK3]
Icons: Adwaita [GTK3]
Terminal: qterminal
CPU: Intel Pentium 4 2.80GHz (2) @ 2.790GHz
GPU: NVIDIA GeForce 7600 GT
Memory: 487MiB / 2953MiB
test@dx6120-lubu:~$ apt-cache policy libpam0g
libpam0g:
Installed: 1.3.1-5ubuntu1
Candidate: 1.3.1-5ubuntu1
Version table:
*** 1.3.1-5ubuntu1 500
500 http://ftp.iinet.net.au/pub/ubuntu disco/main i386 Packages
100 /var/lib/dpkg/status
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1822736
Title:
Passwords longer than 255 characters break authentication
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1822736/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs