Anders Eriksson wrote:
> dan...@pocock.com.au said:
>   
>> I've added some notes to the wiki about how I boot into freevo (using a  gdm
>> Init script), and also how I'm using a multi-seat configuration:
>>
>> http://doc.freevo.org/BootFreevo
>>
>> Any feedback on either of these topics or the scripts I've provided  would be
>> welcome. 
>>     
>
> As I've been looking into this recently, I appreciate the writeup. However, 
> it 
> doesn't speak about runing freevo as non-root. This is rather critical imho, 
> as it's a big chunk of code, forking lots of other stuff. I hope you agree.
>   

If you look at my script, you will see that the freevo process is 
started as the user `freevo' using the su command, so it does not get to 
keep the root privileges of gdm

> I was looking into using start-stop-daemon to exec the recordserver and
> webserver as a dedicated user, but got stuck. It seems s-s-d assumes that a
> daemon instance can be identified by its binary's name, but in freevo's case
> that's "python", and the rest is just arguments with no meaning to s-s-d.
>
>   
The Debian packages implement recordserver and webserver as daemons - 
have you had a look at that?


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to