morningman commented on code in PR #27438:
URL: https://github.com/apache/doris/pull/27438#discussion_r1405305267


##########
docs/en/docs/admin-manual/config/fe-config.md:
##########
@@ -376,6 +376,18 @@ Is it a configuration item unique to the Master FE node: 
true
 
 Whether to enable the multi-tags function of a single BE
 
+#### `initial_root_password`
+
+Set root user initial 2-staged SHA-1 encrypted password, default as '', means 
no root password. Subsequent 'set password' operations for root user will 
overwrite the initial root password.
+
+Example: If you want to configure a plaintext password `root@123`. You can 
execute Doris SQL `select password('root@123')` to generate encrypted password 
`*A00C34073A26B40AB4307650BFB9309D6BFA6999`.
+
+Default: empty string
+
+s it possible to dynamically configure: false

Review Comment:
   ```suggestion
   Is it possible to dynamically configure: false
   ```



##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2293,4 +2293,11 @@ public class Config extends ConfigBase {
                     + "If it is less than this value, it will be diagnosed as 
balanced."
     })
     public static double diagnose_balance_max_tablet_num_ratio = 1.1;
+
+    @ConfField(masterOnly = true, description = {
+            "设置 root 用户初始化2阶段 SHA-1 加密密码,默认为'',即不设置 root 密码。"

Review Comment:
   可以多加一句,说明下如何获取 SHA-1 加密后的密码值



##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2293,4 +2293,11 @@ public class Config extends ConfigBase {
                     + "If it is less than this value, it will be diagnosed as 
balanced."
     })
     public static double diagnose_balance_max_tablet_num_ratio = 1.1;
+
+    @ConfField(masterOnly = true, description = {
+            "设置 root 用户初始化2阶段 SHA-1 加密密码,默认为'',即不设置 root 密码。"

Review Comment:
   可以多加一句,说明下如何获取 SHA-1 加密后的密码值



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to