mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
add doc for running impersonate command as sudo
This commit is contained in:
parent
002950bee0
commit
d49a10616d
2 changed files with 8 additions and 1 deletions
|
|
@ -80,4 +80,4 @@
|
|||
# export ZEPPELINHUB_API_ADDRESS # Refers to the address of the ZeppelinHub service in use
|
||||
# export ZEPPELINHUB_API_TOKEN # Refers to the Zeppelin instance token of the user
|
||||
# export ZEPPELINHUB_USER_KEY # Optional, when using Zeppelin with authentication.
|
||||
# export ZEPPELIN_IMPERSONATE_CMD # Optional, when user want to run interpreter as end web user. eg) 'sudo -u ${ZEPPELIN_IMPERSONATE_USER}'
|
||||
# export ZEPPELIN_IMPERSONATE_CMD # Optional, when user want to run interpreter as end web user. eg) 'sudo -H -u ${ZEPPELIN_IMPERSONATE_USER} bash -c '
|
||||
|
|
|
|||
|
|
@ -38,6 +38,13 @@ ssh user1@localhost mkdir -p .ssh
|
|||
cat ~/.ssh/id_rsa.pub | ssh user1@localhost 'cat >> .ssh/authorized_keys'
|
||||
```
|
||||
|
||||
* Alternatively instead of password-less, user can override ZEPPELIN_IMPERSONATE_CMD in zeppelin-env.sh
|
||||
|
||||
```
|
||||
export ZEPPELIN_IMPERSONATE_CMD='sudo -H -u ${ZEPPELIN_IMPERSONATE_USER} bash -c '
|
||||
```
|
||||
|
||||
|
||||
* Start zeppelin server.
|
||||
|
||||
<hr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue