/usr/bin/passwd setuid bit got dropped in archlinux/archlinux docker image
I discovered that recently i had been unable to change non-root user passwords anymore in the archlinux/archlinux docker image:
$ docker run --rm -it archlinux/archlinux ls -l /usr/bin/passwd
-rwxr-xr-x 1 root root 51464 Jul 21 09:07 /usr/bin/passwd
$ docker run --rm -it archlinux:latest ls -l /usr/bin/passwd
-rwsr-xr-x 1 root root 51464 Jan 27 13:47 /usr/bin/passwd
Trying to change the password as non-root results in the following error:
$ passwd
Changing password for myuser.
Current password:
passwd: Authentication service cannot retrieve authentication info
passwd: password unchanged
Edited by Florent Thiery