答复: Recover/Reset Root Password?

2024-06-18 Thread Wang Critas
In addition, in versions after 1.3.1, if the file and the files in snapshot are 
deleted, restarting will automatically generate a file containing the default 
password, without the need to find the file and put it in it.

And you can also take a look at the relevant source code

发件人: Wang Critas 
日期: 星期二, 2024年6月18日 17:21
收件人: dev@iotdb.apache.org 
主题: 答复: Recover/Reset Root Password?
Hi Trevor
The method you mentioned is feasible, but it is important to note that the 
corresponding IoTDB version of the file needs to be matched. Additionally, the 
cluster needs to be restarted.
This operation is quite dangerous. It is recommended to make a backup in 
advance, and the best practice is to keep the password properly

发件人: Trevor Hart 
日期: 星期二, 2024年6月18日 16:33
收件人: Dev 
主题: Recover/Reset Root Password?
Hello



Is there a process to recover or reset the root user password? For example, if 
a customer forgets their root user password.



Is it possible to replace the "root.profile" file under 
data/confignode/system/users with the default? Would this work?


Thanks

Trevor Hart


答复: Recover/Reset Root Password?

2024-06-18 Thread Wang Critas
Hi Trevor
The method you mentioned is feasible, but it is important to note that the 
corresponding IoTDB version of the file needs to be matched. Additionally, the 
cluster needs to be restarted.
This operation is quite dangerous. It is recommended to make a backup in 
advance, and the best practice is to keep the password properly

发件人: Trevor Hart 
日期: 星期二, 2024年6月18日 16:33
收件人: Dev 
主题: Recover/Reset Root Password?
Hello



Is there a process to recover or reset the root user password? For example, if 
a customer forgets their root user password.



Is it possible to replace the "root.profile" file under 
data/confignode/system/users with the default? Would this work?


Thanks

Trevor Hart