Re: GTK setuid problem



On 13/05/10 14:25, Pádraig Brady wrote:
> On 20/04/10 05:19, robin wrote:
>> Hi,
>>
>> 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).

cheers,
Pádraig.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]