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 to run applications as" - the application? or keter itself? #211

Open
jwaldmann opened this issue Apr 2, 2021 · 1 comment
Open

Comments

@jwaldmann
Copy link

jwaldmann commented Apr 2, 2021

/opt/keter/etc/keter.yaml may contain

# User to run applications as
setuid: keter

I think "application" means "keter" here: e.g., this is setting the ownership of logfiles written by keter.

How can I run each actual application (managed by keter, of type webapp, background) under a specific user? (different from the setuid for keter)

@jappeace
Copy link
Collaborator

jappeace commented Apr 20, 2021

You could use sudo, checkout the manual:

sudo, sudoedit - execute a command as another user

eg:

exec = sudo -u jack-stie -g keter-workers ../bin/myapp

Or make a small launch script in bin to do that.

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

No branches or pull requests

2 participants