You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/12/02 04:48:31 UTC

[iotdb] branch rel/1.0 updated: [To rel/1.0] add auth link in quick start doc (#8299)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new cf9545b244 [To rel/1.0] add auth link in quick start doc (#8299)
cf9545b244 is described below

commit cf9545b244636cd37fc5483ec67d2c1efcd99900
Author: Liao Lanyu <14...@qq.com>
AuthorDate: Fri Dec 2 12:48:24 2022 +0800

    [To rel/1.0] add auth link in quick start doc (#8299)
---
 docs/UserGuide/QuickStart/QuickStart.md    | 13 +++++++++++++
 docs/zh/UserGuide/QuickStart/QuickStart.md | 12 ++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/docs/UserGuide/QuickStart/QuickStart.md b/docs/UserGuide/QuickStart/QuickStart.md
index b2be5607fd..ad32b6ec62 100644
--- a/docs/UserGuide/QuickStart/QuickStart.md
+++ b/docs/UserGuide/QuickStart/QuickStart.md
@@ -220,6 +220,19 @@ The server can be stopped with ctrl-C or the following script:
 Note: In Linux, please add the "sudo" as far as possible, or else the stopping process may fail.
 More explanations are in Cluster/Cluster-setup.md.
 
+### Administration management
+
+There is a default user in IoTDB after the initial installation: root, and the default password is root. This user is an administrator user, who cannot be deleted and has all the privileges. Neither can new privileges be granted to the root user nor can privileges owned by the root user be deleted.
+
+You can alter the password of root using the following command:
+```
+ALTER USER <username> SET PASSWORD <password>;
+Example: IoTDB > ALTER USER root SET PASSWORD 'newpwd';
+```
+
+More about administration management:[Administration Management](https://iotdb.apache.org/UserGuide/V1.0.x/Administration-Management/Administration.html)
+
+
 ## Basic configuration
 
 The configuration files is in the `conf` folder, includes:
diff --git a/docs/zh/UserGuide/QuickStart/QuickStart.md b/docs/zh/UserGuide/QuickStart/QuickStart.md
index be641f581b..5c550ecad1 100644
--- a/docs/zh/UserGuide/QuickStart/QuickStart.md
+++ b/docs/zh/UserGuide/QuickStart/QuickStart.md
@@ -251,6 +251,18 @@ Windows 系统停止命令如下:
 ```
 注意:在 Linux 下,执行停止脚本时,请尽量加上 sudo 语句,不然停止可能会失败。更多的解释在分布式/分布式部署中。
 
+### IoTDB 的权限管理
+
+初始安装后的 IoTDB 中有一个默认用户:root,默认密码为 root。该用户为管理员用户,固定拥有所有权限,无法被赋予、撤销权限,也无法被删除。
+
+您可以通过以下命令修改其密码:
+```
+ALTER USER <username> SET PASSWORD <password>;
+Example: IoTDB > ALTER USER root SET PASSWORD 'newpwd';
+```
+
+权限管理的具体内容可以参考:[权限管理](https://iotdb.apache.org/zh/UserGuide/V1.0.x/Administration-Management/Administration.html)
+
 ## 基础配置
 
 配置文件在"conf"文件夹下,包括: