Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
/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.