Change the Active Directory password for a username using Docker.
The container can be run using the following command:
docker run --interactive --rm sgerrand/smbpasswd USERNAME DOMAIN
This will cause the password for USERNAME
to be changed in the DOMAIN
Active
Directory domain.
- Docker flags:
-i
or--interactive
is required, otherwise your password can't be entered securely. - Input parameters: Both the
USERNAME
andDOMAIN
values are required.