I am working on some ports that will run game servers that have custom rc daemons scripts are made to avoid the process running as root for some basic security. I read the handbook and get how to add them so that isnt a problem however I see that there is only 949 slots available (this ignores the already used slots).
My question is can/should I make one general UID/GIDs and then reuse it for each or make a separate one for each?
EX: Add a gameserver UID+GUID and anyone who ports a game server can use that id to run it.
I don't see an issue with them running as the same user and if someone doesn't want them to it's fairly easy to make a new account and edit the scripts to run under that new user. I know we aren't that close to filling up the UID/GIDs but I'm not a huge fan of using multiple slots since there is a limit and these slots could be used for other things.
My question is can/should I make one general UID/GIDs and then reuse it for each or make a separate one for each?
EX: Add a gameserver UID+GUID and anyone who ports a game server can use that id to run it.
I don't see an issue with them running as the same user and if someone doesn't want them to it's fairly easy to make a new account and edit the scripts to run under that new user. I know we aren't that close to filling up the UID/GIDs but I'm not a huge fan of using multiple slots since there is a limit and these slots could be used for other things.