View Single Post
  #5   (View Single Post)  
Old 9th November 2008
phreud phreud is offline
Port Guard
 
Join Date: Nov 2008
Posts: 22
Default

Thanks! I did what you said and got it working. I created a user utserver with shell nologin and nonexistent for home. I also created /var/run/utserver (chown utserver:utserver) where the pid file goes.

I really only have two more thoughts:

1) After making the changes, when starting the server, two processes are created. I'm not sure why?

ps -uA
Code:
.
.
utserver  2271  0.0  1.5 32568 29984  ??  Ss    3:30AM   0:08.12 /usr/local/ut-server/System/ucc-bin server ctf-Niven?game=botpack.ctfgame?mutator=ZPPure7G.Accugib ini=server.in
utserver  2273  0.0  1.5 32568 29984  ??  S     3:30AM   0:00.00 /usr/local/ut-server/System/ucc-bin server ctf-Niven?game=botpack.ctfgame?mutator=ZPPure7G.Accugib ini=server.in
.
.
Using /usr/local/etc/rc.d/ucc stop kills them both though.

2) All files in ="/usr/local/ut-server/ are owned by root. Should I change this aswell to the utserver user, and if so, do I need to alter any rights?
Reply With Quote