chpasswd

Change the passwords for multiple users by using stdin. More information: <https://manned.org/chpasswd.8>.

Debian Debian
RUN apt-get update && \ apt-get install -y passwd
Ubuntu
RUN apt-get update && \ apt-get install -y passwd
Alpine
RUN apk add shadow
Arch Arch Linux
RUN pacman -S --noconfirm shadow
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y passwd
Fedora
RUN dnf install -y shadow-utils-2
Raspbian
RUN apt-get update && \ apt-get install -y passwd
click the source code to copy install chpasswd on any operating system with command-not-found.com