Page 1 of 1

Change User TwonkyServer is running under

Posted: Fri Feb 11, 2011 11:51 pm
by steffen.beister
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.

Re: Change User TwonkyServer is running under

Posted: Tue Jun 07, 2011 4:43 am
by sstodola