[mythtv-users] Elevating privileges for network handling (was: Re: new YouTube plugin for MythTV)

David George david at thegeorges.us
Tue Nov 13 15:07:50 UTC 2007


On 11/13/2007 11:45 AM, Islam Amer wrote:

<snip>
> About the basic stuff like wget and ffmpeg your comment is right of
> course, but I was talking about things like handling the network, how
> can you do that without gaining elevated privileges ?
>   
I haven't looked at the project, but I am curious what "handling the 
network" things it does that needs elevated privileges.  Is it something 
like binding to a port less than 1024?  If so, there is a capability for 
that (CAP_NET_BIND_SERVICE).  'man capabilities' will give more info.  
There is also a CAP_NET_ADMIN for other network operations.

-- 
David



More information about the mythtv-users mailing list