pdbedit

Edit the Samba user database. For simple user add/remove/password, you can also use smbpasswd. More information: <https://manned.org/pdbedit>.

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