English   German
  #1  
Old 27-08-2002, 22:00
Sidious Sidious is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Stuttgart, Germany
Posts: 14
Sidious is on a distinguished road
Question Starting TSS as non-root

Hello All!

I just messed up with this thing:

I'm running Debian 3.0 (stable) on my box and just tried the tss my first time. It works very fine, so i wanted to start it every time the machine boots.

Of course, i don't want to be surprised by security holes, so i decided to run it as another user than root. But every time i try it, i get the following error:

Error stating daemon. Aborted

Could you please help me with that?

Here the details of my System:
Debian 3.0 (as mentioned above)
Kernel 2.4.18 without patches
Reply With Quote
  #2  
Old 27-08-2002, 22:46
wossName wossName is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Earth
Posts: 20
wossName is on a distinguished road
Are all the file/directory permissions set up the way they should be ? Does it still start when you're root ?
Reply With Quote
  #3  
Old 27-08-2002, 23:31
Sidious Sidious is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Stuttgart, Germany
Posts: 14
Sidious is on a distinguished road
Yeah, of course...
i chmoded everything 755 and even chowned the whole program for the new user! And yeah, i didn't forget the directory itself!
Reply With Quote
  #4  
Old 29-08-2002, 01:31
tenshinhan tenshinhan is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Germany
Posts: 8
tenshinhan is on a distinguished road
Send a message via ICQ to tenshinhan
I have the same Problem. Root-User works fine, but other user didnt work.
Reply With Quote
  #5  
Old 29-08-2002, 02:30
woutur woutur is offline
-= TeamSpeak Addict =-
 
Join Date: Jul 2002
Location: Netherlands
Posts: 498
woutur will become famous soon enough
http://forum.teamspeak.com/show...=&threadid=900
Reply With Quote
  #6  
Old 29-08-2002, 03:30
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
Instead of the TS2 server, try launching /bin/echo as that user. Ie. try something simple before trying something complex.
Reply With Quote
  #7  
Old 30-08-2002, 02:22
tenshinhan tenshinhan is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Germany
Posts: 8
tenshinhan is on a distinguished road
Send a message via ICQ to tenshinhan
can you do an expample for that ?
Reply With Quote
  #8  
Old 01-09-2002, 00:04
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
Take whatever script you use to start tss2 and replace the tss2 command line with:

/bin/echo Hello World

If it fails, then your script is wrong. If it works, then tss2 is set up wrong.
Reply With Quote
  #9  
Old 01-09-2002, 21:49
tenshinhan tenshinhan is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Germany
Posts: 8
tenshinhan is on a distinguished road
Send a message via ICQ to tenshinhan
@ Scractch Monkey

If i start TS2 with www-user in php-script, system post me "Starting TeamSpeak 2 Server Daemon 78 o" but it didnt start. If i do the same in ssh-ts2 starts correctly. But it didnt think its a php problem because other programs starts with php.
Reply With Quote
  #10  
Old 03-09-2002, 05:29
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
What working directory is PHP starting tss2 in? It should be the directory containing httpdocs.

Try launching the server from a script that logs any console output, like this:

#!/bin/sh
# set this to where the tss2 server lives
TSS2PATH=/home/tss2
TSS2LOG=/tmp/tss2.log
# log the working directory
pwd > $TSS2LOG
# start server and save all output
$TSS2PATH/linux_server >> $TSS2LOG 2>>&1

(This is untested code, but should tell you what's going wrong.)
Reply With Quote
  #11  
Old 10-06-2004, 21:20
hescominsoon hescominsoon is offline
-= TeamSpeak User =-
 
Join Date: May 2004
Location: home
Posts: 19
hescominsoon is on a distinguished road
Is there a way to use the ./ to start the server_linux process as a user(in my case tss) without having to use a script? I can do it if i log on as tss then go to the folder and ./server_linux that way. I need it to start that way from boot up..is a script the only way?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 17:42.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices