:: Re: [DNG] Etherape's permissions an…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Alessandro Selli
Datum:  
To: dng
Betreff: Re: [DNG] Etherape's permissions and Linux Capabilities
On 19/09/18 at 14:07, m712 wrote:
>
> On September 18, 2018 1:31:56 PM GMT+03:00, Alessandro Selli <alessandroselli@???> wrote:
>>   Hello,
>>
>>     I recently installed etherape 0.9.13-1+b1 and found out it could
>> not
>> do anything when run as an unprivileged user:
>>
>>
>> Error opening eth0 : eth0: You don't have permission to capture on that
>> device (socket: Operation not permitted) - perhaps you need to be root?
>>
>>
>>   I could find an "EtherApe (as root)" menu item in my desktop's menu
>> under System, but it asks for the superuser's password and I don't like
>> that.
>>
>>   I then run the following command as root:
>>
>>
>> setcap CAP_NET_RAW=pe /usr/bin/etherape
>>
>>
>>   And i can now run etherape as a regular user without entering the
>> superuser's password or setting the binary SUID root.
>>
>>   Could this be make a default setting at package installation, or at
>> least could there be some reference to this setting in the package info
>> and/or in the command man page?
> I agree that this should be a package default, not just here but on Debian's side too. Would you like to contact the maintainer or should I?
>
>            m712



  For once I'll put aside my laziness and do it myself.  ☺

 Thank you anyway.


Alessandro


--
Alessandro Selli <alessandroselli@???>
VOIP SIP: dhatarattha@???
Chiave firma e cifratura PGP/GPG signing and encoding key:
BA651E4050DDFC31E17384BABCE7BD1A1B0DF2AE