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

add options to set user id and group id of spawned commands #17

Open
dirk-zimoch opened this issue Sep 26, 2017 · 3 comments
Open

add options to set user id and group id of spawned commands #17

dirk-zimoch opened this issue Sep 26, 2017 · 3 comments

Comments

@dirk-zimoch
Copy link
Contributor

Options -u / --uid and -g / --gid to set user and group id of the spawned command would be nice. Should accept user/group names as well as numeric ids.

@bfrk
Copy link

bfrk commented Aug 18, 2020

Feature creep, if you ask me. Why not run procServ itself as user ioc like this: runuser -u ioc -- procServ ...?

@anjohnson
Copy link

The difference is that procServ itself is then running as that user, so the IOC itself or another process started by it could interfere with procServ. You could run just the ioc under runuser though with procServ ... -- runuser -u ioc ...

@bfrk
Copy link

bfrk commented Aug 18, 2020

True, it's not exactly the same thing. OTOH, running procServ as root isn't ideal either. And I like it when the log files and the communication sockets belong to the same user that runs the IOC. YMMV.

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

3 participants