You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by king hao <ki...@gmail.com> on 2023/03/05 13:56:14 UTC

[DISCUSS] Unified engine user

Fang Jin

Is it possible for all engines to be created by a unified user (such as
hadoop), but the execution of code (shell scripts, sql statements, etc.) is
still done by the logged-in user? @Zhang Huajin @GZCB




Zhang Huajin

Yes, just use a proxy user




Fang Jin

After the proxy user is set, the execution of the code is also done by the
proxy user




Zhang Huajin

Yes, all login users = proxy users = same user




Fang Jin

Ok, Thank you




Fang Jin

可以做到【所有引擎由统一的用户(如hadoop)创建,但代码(shell脚本、sql语句等)的执行还是由登录用户来执行】吗? @张华金@GZCB




Zhang Huajin

可以的,用代理用户就行了




Fang Jin

设置代理用户之后,代码的执行也变成由代理用户去执行了




Zhang Huajin

是的,全部是登录用户=代理用户=同一用户




Fang Jin

好的,谢谢