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

Islam Amer pharon at gmail.com
Tue Nov 13 17:22:58 UTC 2007


No I can the plugin allows the user to set and save the network settings
( static or DHCP , IP netmask gateway, DNS etc. ) so that it gets used
on every boot.

That would make sense for a settop box that doesn't have any other UI
available right ?

On Tue, 2007-11-13 at 10:07 -0500, David George wrote:
> 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.
> 



More information about the mythtv-users mailing list