Author Topic: Linux server help  (Read 1304 times)

RasterMan

  • PGP
  • Posts: 3
Linux server help
« on: March 22, 2009, 03: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?

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Linux server help
« Reply #1 on: March 22, 2009, 03:08:38 PM »
NEVER EVER EVER EVER EVER ~ run it as root.

Run it on another account.

RasterMan

  • PGP
  • Posts: 3
Re: Linux server help
« Reply #2 on: March 22, 2009, 03:50:37 PM »
Can you tell me how?

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Linux server help
« Reply #3 on: March 22, 2009, 04:52:37 PM »
Run it as a local user account.

RasterMan

  • PGP
  • Posts: 3
Re: Linux server help
« Reply #4 on: March 22, 2009, 05:11:22 PM »
Ok I've got it sorted now thx

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Linux server help
« Reply #5 on: March 23, 2009, 12: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.