prestashop:employee:change-passwordsrc/PrestaShopBundle/Command/EmployeeChangePasswordCommand.phpemail: Employee email (optional, prompted when omitted)--password: New password. Prefer the interactive prompt to avoid leaking it in your shell history (optional, prompted when omitted)This command resets the password of an existing back-office employee from the command line. By default it is interactive and prompts for the email and the new password (entered twice). Passing the email argument and the --password option runs it non-interactively.
On success, the employee receives the “Your new password” email, the same template used by the Back Office forgot-password flow.
To provision a new SuperAdmin instead, use prestashop:employee:create-admin.
$ bin/console prestashop:employee:change-password
$ bin/console prestashop:employee:change-password [email protected] --password='S0meStr0ngP@ss!'