Deployment and Maintenance / Reset Admin Password
This article mainly introduces how to reset the admin password after you have forgotten it.
1. Prerequisites
To reset the system admin password, you need to be able to access the host machine where DataFlux Func is running or the DataFlux Func container.
The admin tool requires you to enter the DataFlux Func container before you can operate it.
2. Specific Operations
DataFlux Func provides an admin tool called admin-tool.py. If you have forgotten the system admin password, you can use this tool to reset it.
The specific commands are as follows:
- Outside the container
Bash | |
---|---|
1 |
|
- Inside the container
Bash | |
---|---|
1 |
|
Example of modification:
Text Only | |
---|---|
1 2 3 4 |
|
3. More Options
If there is a need for automated operations, you can use the following method to directly specify the admin username and new password, skipping the terminal interaction:
- Outside the container
Bash | |
---|---|
1 |
|
- Inside the container
Bash | |
---|---|
1 |
|
4. Admin Tool admin-tool.py
For more detailed usage of the admin tool, please refer to Deployment and Maintenance / Admin Tool