Error in Linux 'start as another user' (sudo -u <user>)
Posted: Sun Apr 04, 2010 10:10 pm
In my ultimate desire to make a good Ubuntu twonky install, I hit what I believe is an error in twonkymedia server.
If I start the executable twonkymedia in the install directory, as bare as possible, with, it will start the daemons twonkymedia and twonkymediaserver that I find in the process list. The owner of the processes is the user who started twonkymedia.
If I start with, the daemons are owned by root.
However when I start with then I receive the message that . After that, the process list shows twonkymedia as a good process, but also a twonkymediaserv as a defunct process.
I surely need to run twonkymedia as another user, when kicked off /etc/init.d during reboot.
Please advice!
If I start the executable twonkymedia in the install directory, as bare as possible, with
Code: Select all
./twonkymedia
If I start with
Code: Select all
sudo ./twonkymedia
However when I start with
Code: Select all
sudo -u <otherusername> ./twonkymedia
Code: Select all
dbx_init failed
I surely need to run twonkymedia as another user, when kicked off /etc/init.d during reboot.
Please advice!