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:
-ior--interactiveis required, otherwise your password can't be entered securely. - Input parameters: Both the
USERNAMEandDOMAINvalues are required.