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
--
https://nextchan.org -- https://gitgud.io/blazechan/blazechan
I am awake between 3AM-8PM UTC, HMU if the site's broken