Results 1 to 3 of 3
  1. #1
    Join Date
    March 2017

    Change user context


    I "inherited" a ubuntu server with a running Teamviewer server.
    I just recognized that it's running as root user...

    Do you know any best practice to change the usercontext without reinstalling the server?

    Thanks a lot!

  2. #2
    Join Date
    February 2012
    You create a new Linux user,
    then you change the owner of the data files and directories the Teamspeak server accesses to the new user,
    then you verify that the user is indeed able to write to these files and directories,
    then you start the Teamspeak server with the new user instead of root.

    The last thing might require changes in the start script/systemd unit of the Teamspeak server. Unfortunately, a proper start script/unit file that switches to an unprivileged user and is directly usable in the startup system of the machine (sysv, upstart, systemd, ...) is not part of the Teamspeak server download. So this is specific on each server. That is the part that is hand-crafted by the server admin on each Teamspeak server machine.

  3. #3
    Join Date
    March 2017
    That worked, thanks!
    Just had to add an "su teamspeakuser -s /bin/sh -c" into the startupscript.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Evaluation] Client still can open ServerQuery user connection info context menu
    By KIDINK^ in forum Bug Reports [EN/DE]
    Replies: 2
    Last Post: April 1st, 2016, 11:55 PM
  2. Replies: 4
    Last Post: July 16th, 2012, 01:55 PM
  3. Change User Avatar
    By T.S. Excreta in forum Windows
    Replies: 6
    Last Post: March 15th, 2010, 09:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts