Resetting the mzadmin Password(4.3)
If the password for mzadmin is lost, it can either be changed by another user belonging to the Administration group or be set according to the following procedure:
Access the pod’s platform terminal using the
kubectl exec
command and then using the commandmzsh encryptpassword
to get the encryption which will be used in the following step.
Examplemzadmin@platform-0:/opt/mz$ mzsh encryptpassword samplepw DR-4-CC7A55C17B6EA7A4CFBCFFFE5AA296C8
Locate and open values.yaml file. Find the section,
systemProperties
and add the configuration propertymz.user.emergency.unlock
as in the example below:platform: pullPolicy: Always systemProperties: - mz.user.emergency.unlock=DR-4-1D2E6A059AF8120841E62C87CFDB3FF
Example
mz.user.emergency.unlock=DR-4-CC7A55C17B6EA7A4CFBCFFFE5AA296C8
Upgrade the installation.
ExampleLogin with the new temporary password and key in your new password twice to change it.
Once successfully logged in, remove the property,
mz.user.emergency.unlock
and upgrade the Platform pod again.