Reset NineData Community Edition Administrator Password
If the NineData Community Edition administrator password is forgotten, an operator with container management permissions can set a temporary password, use it to change the administrator password, and then remove the temporary credential.
Before you begin
The NineData service container is running normally.
The NineData Community Edition version is at least 4.1.0. To view the current version, sign in to the NineData Community Edition console and check the upper-left corner of the page.

Procedure
Resetting the administrator password requires three steps: configure a temporary password, log in with the temporary password and change the password, and then delete the temporary password.
Step 1: Configure a Temporary Password
At the terminal interface of the NineData Community Edition server, enter the following command to enter the niup tool interactive interface.
docker exec -it ninedata niupInject a temporary password.

console config put admin.login.password <Password>tipReplace
<Password>with the temporary password you want to set.Apply the temporary password change, and NineData service will restart after execution.
console restart
Step 2: Log in with the Temporary Password and Change the Administrator Password
Access the NineData Community Edition console and log in with the temporary password from Step 1.

NineData starts the password change process. In the dialog, enter a new password, complete the confirmation, and then click OK.
Step 3 (Important): Remove the Temporary Password
After the password reset is finished, remove the temporary password promptly. Otherwise, the temporary password remains valid for login, and the administrator continues to receive password change prompts.
At the terminal interface of the NineData Community Edition server, enter the following command to enter the niup tool interactive interface.
docker exec -it ninedata niupDelete the temporary password.

console config remove admin.login.passwordApply the change, and NineData service will restart after execution.
console restart
Result
The administrator password is reset, the temporary password is removed, and the NineData Community Edition service restarts with the updated credential state.
Appendix: Command Reference Table
| Operation | Command | Execution Environment |
|---|---|---|
| Enter niup tool | docker exec -it ninedata niup | Host Machine Shell |
| Set temporary password | console config put admin.login.password | niup Interactive Interface |
| Remove temporary password | console config remove admin.login.password | niup Interactive Interface |
| Restart NineData Service | console restart | niup Interactive Interface |