[gentoo-user] Re: How to grant a CAP_NET_RAW capability to user?

2013-12-10 Thread Grant Edwards
On 2013-12-10, Canek Pel??ez Vald??s can...@gmail.com wrote: How do you grant a capability (e.g. CAP_NET_RAW) to a user? From man:capabilities(7): Capabilities are a per-thread attribute. I don't think you can grant any capability to a user. I've found some indications that you can.

[gentoo-user] Re: How to grant a CAP_NET_RAW capability to user?

2013-12-10 Thread Grant Edwards
On 2013-12-10, Grant Edwards grant.b.edwa...@gmail.com wrote: How do you grant a capability (e.g. CAP_NET_RAW) to a user? After more googling, I found this page which describes exactly what I'm trying to do: https://github.com/constanze/GSoC2010_Gentoo_Capabilities/wiki/pam_cap-on-gentoo

Re: [gentoo-user] Re: How to grant a CAP_NET_RAW capability to user?

2013-12-10 Thread Canek Peláez Valdés
On Tue, Dec 10, 2013 at 12:56 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2013-12-10, Canek Pel??ez Vald??s can...@gmail.com wrote: How do you grant a capability (e.g. CAP_NET_RAW) to a user? From man:capabilities(7): Capabilities are a per-thread attribute. I don't think you can

[gentoo-user] Re: How to grant a CAP_NET_RAW capability to user?

2013-12-10 Thread Grant Edwards
On 2013-12-10, Canek Pel??ez Vald??s can...@gmail.com wrote: But the example provided only shows how to grant capabilities to a user that can then be inherited by files which must also have that same capability enabled. That's not quite what I want to do (and it doesn't seem to work). The