userdel

Remove a user account or remove a user from a group. See also: users, useradd, usermod. More information: <https://manned.org/userdel>.

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 userdel on any operating system with command-not-found.com