Re: GTK setuid problem
- From: Pádraig Brady <P draigBrady com>
- To: robin <robinpv iwavesystems com>
- Cc: gtk-list gnome org
- Subject: Re: GTK setuid problem
- Date: Thu, 13 May 2010 14:27:58 +0100
On 13/05/10 14:25, Pádraig Brady wrote:
> On 20/04/10 05:19, robin wrote:
>> I have a GTK application that makes uses of socket.
>> I am able to run the application as a root user.
> setcap cap_sys_raw+ep yourprog
Actually it should be cap_net_raw:
setcap cap_net_raw+ep yourprog
Note you'll need to run the program from
a file system that supports capabilities
(nfs and tmpfs are out).
] [Thread Prev