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

Run as user per job #570

Open
mterron opened this issue Jul 10, 2018 · 5 comments · May be fixed by #584
Open

Run as user per job #570

mterron opened this issue Jul 10, 2018 · 5 comments · May be fixed by #584

Comments

@mterron
Copy link
Contributor

mterron commented Jul 10, 2018

Add a new key "user" to define as what uid the process should run under.

@eliasbrange
Copy link
Contributor

Could this be accomplished by adding something like the following

cmd.SysProcAttr.Credential = &syscall.Credential{Uid: uid, Gid: gid}

below https://github.com/joyent/containerpilot/blob/bdc8fb7b0bee7cf38e2a680ac76a368e790443bc/commands/commands.go#L104? @tgross @misterbisson

@gbmeuk
Copy link

gbmeuk commented Jun 5, 2019

Would be a really useful feature

@mterron
Copy link
Contributor Author

mterron commented Jun 5, 2019

I don't think CP is being developed/supported anymore @gbmeuk

@gbmeuk
Copy link

gbmeuk commented Jun 8, 2019

Thanks, @mterron. I'd seen comments about Joyent feeling that it is complete and not being actively being developed. Not sure about supported and whether they're reviewing PRs?

Mind you they have a lot of other issues right now, I guess.

@frederikbosch frederikbosch linked a pull request Oct 24, 2019 that will close this issue
@frederikbosch
Copy link

I added the feature in PR #584.

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 a pull request may close this issue.

4 participants