LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AssaultCube game server (https://www.linuxquestions.org/questions/linux-newbie-8/assaultcube-game-server-657042/)

blancs 07-20-2008 04:37 PM

AssaultCube game server
 
I run a assaultcube on my home box, up until recently i just ran it in my home dir in a screen. My server has become pretty popular and i want to add a few user accounts of people whom are going to help administer the server ie updating the blacklist and general maintenance of the game server. So I was wondering how should I do this right, or just better for that matter. I was thinking of moving the assaultcube dir into /home, then adding the users to the box and setting that as their home dir, seems kind of screwy though. I was also thinking I should move it to the /etc dir and then just have the new users have their own home dirs and give them permissions on the /etc/assaultcube dir, then again the seems really screwy. Any advice on the best way of setting up the structure of this would greatly help.

Thanks in advance.

ps, the users will just need executable access on the assaultcube binary, read access to the blacklist cfg, and read access to syslog since the logs get dumped there from the server.

case you are curious assault.cubers.net, it is a opensourse fps game like counter strike and quake put together.

unSpawn 07-21-2008 09:59 AM

/etc is for configuration files, /home for users and /var for volatile data. If the game (the "service") needs its own ID to run as (which is a Good Thing, it shouldn't run as root) and a home to store data in then you could choose to set it up in /home (and maybe separate volatile data, logs to /var). I'd add users as you would any other unprivileged user, except you allow them to use Sudo commands to edit the blacklist file, tail syslog and access to the service starting script (shouldn't be hard making one if there isn't any). If you want to see what they're up to (auditing) you can replace their login shell with Rootsh or Sudosh which can dump commands and output in a log for you to read back later.


All times are GMT -5. The time now is 04:59 PM.