You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ki...@apache.org on 2021/10/29 04:43:01 UTC

[dolphinscheduler-website] branch master updated: Correct add tenant doc for 2.0.0 and dev (#479)

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

kirs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 86cc6e0  Correct add tenant doc for 2.0.0 and dev (#479)
86cc6e0 is described below

commit 86cc6e07093a6ddbf76b6cfbee5f2b4c331aae49
Author: Jiajie Zhong <zh...@hotmail.com>
AuthorDate: Fri Oct 29 12:42:54 2021 +0800

    Correct add tenant doc for 2.0.0 and dev (#479)
    
    * Correct add tenant doc for 1.3.9, 2.0.0 and dev
    
    * Revert change for 1.3.9
---
 docs/en-us/2.0.0/user_doc/guide/security.md | 2 +-
 docs/en-us/dev/user_doc/guide/security.md   | 2 +-
 docs/zh-cn/2.0.0/user_doc/guide/security.md | 2 +-
 docs/zh-cn/dev/user_doc/guide/security.md   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en-us/2.0.0/user_doc/guide/security.md b/docs/en-us/2.0.0/user_doc/guide/security.md
index 84e7c77..bbab492 100644
--- a/docs/en-us/2.0.0/user_doc/guide/security.md
+++ b/docs/en-us/2.0.0/user_doc/guide/security.md
@@ -14,7 +14,7 @@
 
 ## Add tenant
 
-- The tenant corresponds to the Linux user, which is used by the worker to submit the job. If Linux does not have this user, the worker will create this user when executing the script.
+- The tenant corresponds to the Linux user, which is used by the worker to submit the job. Task will fail if Linux does not exists this user. You can set the parameter `worker.tenant.auto.create` as `true` in configuration file `worker.properties`. After that DolphinScheduler would create user if not exists, The property `worker.tenant.auto.create=true` requests worker run `sudo` command without password.
 - Tenant Code: **Tenant Code is the only user on Linux and cannot be repeated**
 - The administrator enters the Security Center->Tenant Management page and clicks the "Create Tenant" button to create a tenant.
 
diff --git a/docs/en-us/dev/user_doc/guide/security.md b/docs/en-us/dev/user_doc/guide/security.md
index 84e7c77..bbab492 100644
--- a/docs/en-us/dev/user_doc/guide/security.md
+++ b/docs/en-us/dev/user_doc/guide/security.md
@@ -14,7 +14,7 @@
 
 ## Add tenant
 
-- The tenant corresponds to the Linux user, which is used by the worker to submit the job. If Linux does not have this user, the worker will create this user when executing the script.
+- The tenant corresponds to the Linux user, which is used by the worker to submit the job. Task will fail if Linux does not exists this user. You can set the parameter `worker.tenant.auto.create` as `true` in configuration file `worker.properties`. After that DolphinScheduler would create user if not exists, The property `worker.tenant.auto.create=true` requests worker run `sudo` command without password.
 - Tenant Code: **Tenant Code is the only user on Linux and cannot be repeated**
 - The administrator enters the Security Center->Tenant Management page and clicks the "Create Tenant" button to create a tenant.
 
diff --git a/docs/zh-cn/2.0.0/user_doc/guide/security.md b/docs/zh-cn/2.0.0/user_doc/guide/security.md
index 0e8125d..36c0597 100644
--- a/docs/zh-cn/2.0.0/user_doc/guide/security.md
+++ b/docs/zh-cn/2.0.0/user_doc/guide/security.md
@@ -13,7 +13,7 @@
 
 ## 添加租户
 
-- 租户对应的是Linux的用户,用于worker提交作业所使用的用户。如果linux没有这个用户,worker会在执行脚本的时候创建这个用户。
+- 租户对应的是Linux的用户,用于worker提交作业所使用的用户。如果linux没有这个用户,则会导致任务运行失败。你可以通过修改 `worker.properties` 配置文件中参数 `worker.tenant.auto.create=true` 实现当 linux 用户不存在时自动创建该用户。`worker.tenant.auto.create=true` 参数会要求 worker 可以免密运行 `sudo` 命令。
 - 租户编码:**租户编码是Linux上的用户,唯一,不能重复**
 - 管理员进入安全中心->租户管理页面,点击“创建租户”按钮,创建租户。
 
diff --git a/docs/zh-cn/dev/user_doc/guide/security.md b/docs/zh-cn/dev/user_doc/guide/security.md
index 0e8125d..5e5637c 100644
--- a/docs/zh-cn/dev/user_doc/guide/security.md
+++ b/docs/zh-cn/dev/user_doc/guide/security.md
@@ -13,7 +13,7 @@
 
 ## 添加租户
 
-- 租户对应的是Linux的用户,用于worker提交作业所使用的用户。如果linux没有这个用户,worker会在执行脚本的时候创建这个用户。
+- 租户对应的是Linux的用户,用于worker提交作业所使用的用户。如果linux没有这个用户,则会导致任务运行失败。你可以通过修改 `worker.properties` 配置文件中参数 `worker.tenant.auto.create=true` 实现当 linux 用户不存在时自动创建该用户。`worker.tenant.auto.create=true` 参数会要求 worker 可以免密运行 `sudo` 命令
 - 租户编码:**租户编码是Linux上的用户,唯一,不能重复**
 - 管理员进入安全中心->租户管理页面,点击“创建租户”按钮,创建租户。