Create a user & folder for the shared content.
Make a default srcds installation in that folder as user srcds.
Also if you want put some extra maps and plugins you need to be common for all servers. (if so, don't to edit maplist.txt etc...)
Then create the first user
and as root create symbolic links from srcds
and replace user editable files with a fresh copy of their own
and set proper permissions for directories
and files
the add user1 to group srcds so it can read its files
Repeat the user process for more servers.
All updates will this way only be needed on the shared content.
All users can edit their own configs and install new maps and plugins which wasn't part of the shared content.
GL!
Code:
sudo useradd -d/home/srcds -m srcds
Also if you want put some extra maps and plugins you need to be common for all servers. (if so, don't to edit maplist.txt etc...)
Then create the first user
Code:
sudo useradd -d/home/user1 -m user1
Code:
sudo cp -s -R /home/srcds/* /home/user1/
Code:
sudo rm /home/user1/cstrike/cfg/*
sudo rm /home/user1/cstrike/*.txt
sudo rm /home/user1/cstrike/*.db
sudo cp /home/srcds/cstrike/cfg/* /home/user1/cstrike/cfg/
sudo cp /home/srcds/cstrike/*.txt /home/user1/cstrike/
sudo cp /home/srcds/cstrike/*.db /home/user1/cstrike/
and set proper permissions for directories
Code:
sudo find /home/user1/ -type d -exec chown user1.user1 {} \;
Code:
sudo chown user1.user1 /home/user1/cstrike/cfg/*
sudo chown user1.user1 /home/user1/cstrike/*.txt
sudo chown user1.user1 /home/user1/cstrike/*.db
the add user1 to group srcds so it can read its files
Code:
sudo usermod -a -Gsrcds user1
Repeat the user process for more servers.
All updates will this way only be needed on the shared content.
All users can edit their own configs and install new maps and plugins which wasn't part of the shared content.
GL!
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64