Re: must be root to ping?

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



la, 2012-07-14 kello 18:07 +0300, Mantas Mikulėnas kirjoitti:
> `/usr/bin/ping` and `ping6` must be either setuid-root (chmod u+s) or
> have the CAP_NET_RAW capability (setcap cap_net_raw+ep). The Arch
> `iputils` package normally runs `setcap` in its post-install
> script[2].

I just updated my system and got his message and now my ping is not
working as regular user.
------------------------------------------------------------------------
(10/22) päivitetään iputils [#####################################] 100%

Failed to set capabilities on file `usr/bin/ping'
(Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename>
[ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
Failed to set capabilities on file `usr/bin/ping6'
(Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename>
[ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
 >> Traceroute is now provided by core/traceroute
------------------------------------------------------------------------

Running "sudo setcap cap_net_raw+ep /usr/bin/ping" manually results in
the same (Operation not supported) error.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux