Re: Shell script help: change to root mid script
OK, now we're speaking plain english!
Originally Posted by djbon2112
I though you were going to host a permanent game server (I once did this with eAthena, so my mind went right there when I read your problem.), that's why I though the other people using them would be your "helpers" or "subordinates"
Asuming the server machine has some decent memory, you could run several Virtual Machines, that way each can have their own IPs (no server stealing each other's ports), and if somebody screws up (unintentionally or otherwise) it will not affect the other VMs at all.
You could also run sandboxes, but the servers may not get all the resources they need.
You could also create a queue list, have them write the path to their server executable there, and have another routine (like cron) execute everything on the list every minute as root and flush it (can provide a hole to security, unless you filter malicious commands in the list) If they install the games in their home folders (which is doable) they will also be able to edit config files. It may be tricky to make it work well, though.
I know there must be smarter ways to do this, I'll see if I can offer you anything else tonight (after I come back from college).
Wish I could prove I love you, but does that mean I have to walk on water?
When we are older you'll understand it's enough when I say so, and maybe some things are that simple.