Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User impersonation #714

Merged
merged 3 commits into from
May 19, 2022
Merged

Conversation

stvoutsin
Copy link
Collaborator

Changes to enable user-impersonation.
Spark / Python & sh are now started as the user, rather than "fedora".

Additional changes include changes to how new users are added. We now use the add_user script that we create under zeppelin/bin when creating the initial list of known users.

Copy link
Collaborator

@Zarquan Zarquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good 👍

Comment on lines +195 to +201
# After some experimentation, it seems like the following is the minimum amount of permissions we need to give "zeppelin users"

sudo chown fedora:zeppelinusers /home/fedora/
sudo chown fedora:zeppelinusers /home/fedora/zeppelin-0.10.0-bin-all
sudo chown -R fedora:zeppelinusers /home/fedora/zeppelin-0.10.0-bin-all/interpreter
sudo chown fedora:zeppelinusers /home/fedora/zeppelin-0.10.0-bin-all/conf
sudo chown fedora:zeppelinusers /home/fedora/zeppelin-0.10.0-bin-all/conf/zeppelin-env.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really important to know. I've created a new issue to find a way of keeping track of things like this.

@Zarquan Zarquan merged commit cf5c76e into wfau:master May 19, 2022
@stvoutsin stvoutsin deleted the feature/user-impersonate-v2 branch July 4, 2022 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants