1 Answer
1

You can use the newgrp command to log in to an alternative group and then run the command in that group.

Alternatively you can change the group of the executable and make the executable "setgid" (e.g. with chmod g+s myserver). This obviously has an effect on anyone running myserver and requires you to have permissions over its directory entry, wherever that is.