Three methods are available:

  • UI method:

    On the Homepage of ZStack, click the admin icon, and then click Change Password.

  • CTL method:
    Run the following command:
    [root@localhost ~]# zstack-ctl reset_password --password NEW_PASSWORD #Change the password. (NEW_PASSWORD is the new password.)
  • CLI method:
    Run the following commands in sequence:
    [root@localhost ~]# zstack-cli  #Go to the CLI mode.
    admin>>> LogInByAccount accountName=admin password=password #Log in to the CLI. Default user name/password: admin/password.
    admin>>> UpdateAccount uuid=36c27e8ff05c4780bf6d2fa65700f22e password=NEW_PASSWORD #Change the password. (NEW_PASSWORD is the new password.)