Change User TwonkyServer is running under

Linux and UNIX specific discussions
steffen.beister
Posts: 2
Joined: Thu Feb 10, 2011 1:06 pm
AV Hardware: TwonkyServer 6.x running on Ubuntu Server
Samsung LE40C750 LED-TV
various Desktop PC & Laptops running Windows XP - Windows 7
Smartphone

Change User TwonkyServer is running under

Postby steffen.beister » Fri Feb 11, 2011 11:51 pm

Hi there,

Let's start with some explanations what I've done so far.

I installed TwonkyServer 6.x on Ubuntu Server 10.x using the installation script.
Registering twonkyserver as autostart service on boot.
creating new user 'twonky' what i want the server running under.
Assigning user to group nogroup.
Changing /usr/local/twonkymedia Owner/Group to twonky/nogroup
Changing /etc/init.d/twonkyserver start script, to use start-stop-daemon tool to start service using user twonky.

i even changed the owner and group for /var/twonkymedia folder, because there is stored the database and some configuration files.

Everything is running fine so far.
My Problem is, TwonkyServer wants to use some files stored in /home/twonky/.twonkymedia , but....
i created the user 'twonky' as system user with no home-folder. I don't know where to change the storage path for that files the server is trying to access.

I just don't want a service user, that is not allowed to login on system, to have a home folder, because my home folder are part of my backup strategy and i don't want to mix real user and system user.

Actually i solved by a symbolic link in /home/twonky, but i don't want it like this. I wan't the server to create files in my central service configuration folder :(

Trying this since about 4 hours.

Hopefully somebody can help.

sstodola
Posts: 8
Joined: Mon Mar 07, 2011 6:45 pm
AV Hardware: Xbox360

Re: Change User TwonkyServer is running under

Postby sstodola » Tue Jun 07, 2011 4:43 am



Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest

cron