Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2008, 05:37 PM   #1
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
Question 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, it is a opensourse fps game like counter strike and quake put together.
Old 07-21-2008, 10:59 AM   #2
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
/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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AssaultCube game server blancs Linux - Server 2 07-20-2008 10:45 PM
help compiling assaultcube blancs Linux - Newbie 3 02-29-2008 09:46 PM
SUSE Enterprise Server vs normal (game server) AZaraT Linux - Software 2 06-16-2006 09:36 AM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 06:32 AM
game not receving game list from master server Rnastyracer Linux - Games 2 04-02-2004 11:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration