When I run:
ps -e -o pid,user,group
I see that processes have users and groups (among other properties).
How can I as a user influence the group assignment to the processes that I start?
In other words, is something like this possible?
run_as_group mygroup myserver -port 1234
run_as_group is some standard Unix utility that takes a name of a group and a command line and executes this command line under my user name and under the given group name.
The goal that I'm trying to achieve is that a selected group of people get the permission to kill the processes that I've started.
(I'm concretely interested in Ubuntu/Debian if that matters.)