Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: RasterMan on March 22, 2009, 05:00:16 PM

Title: Linux server help
Post by: RasterMan on March 22, 2009, 05:00:16 PM
First I would like to say hi to all :)

I have a dedicated Box running Linux (centos 5)
The problem that I am having is when I try to run the command line:

./paintball2 +set dedicated 1 +ip 195.242.236.65 -port 27025 +set public 1 +exec server.cfg +map midnight2

I get the error that I can't run pball from root!
I'm using putty for ssh access to my box but it logs me in straight to root! 

Can anyone help me plz?
Title: Re: Linux server help
Post by: KnacK on March 22, 2009, 05:08:38 PM
NEVER EVER EVER EVER EVER ~ run it as root.

Run it on another account.
Title: Re: Linux server help
Post by: RasterMan on March 22, 2009, 05:50:37 PM
Can you tell me how?
Title: Re: Linux server help
Post by: KnacK on March 22, 2009, 06:52:37 PM
Run it as a local user account.
Title: Re: Linux server help
Post by: RasterMan on March 22, 2009, 07:11:22 PM
Ok I've got it sorted now thx
Title: Re: Linux server help
Post by: sk89q on March 23, 2009, 02:29:19 AM
Never run any outfacing server as root. If there's some exploit in the server, attackers have all the privileges of root.