LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-20-2008, 04:37 PM   #1
blancs
Member
 
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 assault.cubers.net, it is a opensourse fps game like counter strike and quake put together.
 
Old 07-21-2008, 09:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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 09:45 PM
help compiling assaultcube blancs Linux - Newbie 3 02-29-2008 08:46 PM
SUSE Enterprise Server vs normal (game server) AZaraT Linux - Software 2 06-16-2006 08:36 AM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 05:32 AM
game not receving game list from master server Rnastyracer Linux - Games 2 04-02-2004 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 AM.

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