Hi Sven,

Thanks for your report!

arp-scan is an admin command. It is installed (by default) in
/usr/sbin/, this directory is not in the $PATH of a normal user.


Personally, I don't think it's a good idea for a non-privileged user to
execute administrator commands, although it's a matter of preference.
In my opinion, this is fine this way and this bug should be closed.

Greetings, 
Marcos

El sáb, 21-01-2023 a las 11:15 +0100, Sven Joachim escribió:
> Package: arp-scan
> Version: 1.10.0-1
> Severity: normal
> 
> Reading the NEWS.md file, it seems that arp-scan should be built with
> POSIX.1e capabilities support on Linux.  Probably you want to add
> libcap-dev to Build-Depends (on Linux architectures) and try
> "setcap cap_net_raw+p /usr/sbin/arp-scan" in the postinst so that
> arp-scan can be run by an ordinary user.
> 
> 
> -- System Information:
> Debian Release: bookworm/Sid's
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (101, 'experimental')
> merged-usr: no
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 5.10.164-nouveau (SMP w/2 CPU threads)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
> LANGUAGE not set
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages arp-scan depends on:
> ii  ieee-data         20220827.1
> ii  libc6             2.36-8
> ii  libpcap0.8        1.10.3-1
> ii  libtext-csv-perl  2.02-2
> 
> Versions of packages arp-scan recommends:
> ii  libwww-perl  6.67-1
> 
> arp-scan suggests no packages.
> 
> -- no debconf information
> 

Reply via email to