so here's my scenario.
I've got a dedicated server running slackware 10.2 that will be serving day of defeat source.
there are 3 users with shell access and i would like to use screen to allow each of them to retrieve the console at various times.
I figured making a script that would launch the server (using screen) as a 4th user using sudo (i know the other 2 users with shell access personally) and another script using that 4th user to retrieve the server would help fix this (script follows
to launch the server:
echo "Starting DOD:Source Server"
sudo -u source screen -A -m -d -S dod ./srcds_run -console -game dod
to retrieve it:
echo "Retrieving Server"
sudo -u source screen -x dod
So my current problem is this error:
You are not the owner of /home/jetpig/.screen.
the server and scripts are located in /home/source/srcds_1/
i'm launching as the user jetpig and am executing the scripts while in the srcds_1 folder.
Any help will be greatly appreciated.
thanks in advance!