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:

  1. Access the pod’s platform terminal using the kubectl exec command and then using the command mzsh encryptpassword to get the encryption which will be used in the following step.
    Example

    mzadmin@platform-0:/opt/mz$ mzsh encryptpassword samplepw DR-4-CC7A55C17B6EA7A4CFBCFFFE5AA296C8
  2. Locate and open values.yaml file. Find the section, systemProperties and add the configuration property mz.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
  3. Upgrade the installation.
    Example

  4. Login with the new temporary password and key in your new password twice to change it.

  5. Once successfully logged in, remove the property, mz.user.emergency.unlock and upgrade the Platform pod again.