[bf1942] chown on start?
Reinder P. Gerritsen
reinder at strikerz.net
Fri Jun 27 02:28:45 EDT 2003
I use a generic starting script running from root that first makes sure
all files are owned by the user that runs the game, then fires up a
screen and changes to that specific user.
/bin/chown -R bfds.games $PATH
<insert any other permission handling programs such as chmod>
/usr/bin/screen -dmS bfserver /bin/su $USER -c "./bf1942_lnxded
+statusMonitor 1 +game $MOD"
Or... Is this a security issue to the root user because screen is
running as root?
From: Casey Zacek [mailto:bfb-bf at bogleg.org]
Sent: Thursday, June 26, 2003 17:42
To: bf1942 at icculus.org
Subject: Re: [bf1942] chown on start?
Christian Lahme wrote (at Thu, Jun 26, 2003 at 05:27:22PM +0200):
> Hello Andreas,
> Is bf1942_lnxded doing a chown every start? Is it possible to set this
> by ServerSettings.con. Our System has to have different owners for the
> configfiles. The starting user is in a group with the file-owner, but
> they aren?t the same.
> Is there any possibilty to get this in next ob?
Only root can chown. I don't run bf1942 as root, so mine certainly
isn't chowning anything.
-- Casey Zacek (Zippo) Beer for Breakfast servers
18.104.22.168:27015 (CS multi-map) <http://bfb.bogleg.org/>
22.214.171.124:27016 (CS inferno/dust2/aztec/militia) Dallas, TX
More information about the Bf1942