Fix ping needing sudo
apt install --reinstall iputils-ping
should fix the case where you need sudo to ping a server (even localhost) because you get the error:
ping: icmp open socket: Operation not permitted
apt install --reinstall iputils-ping
should fix the case where you need sudo to ping a server (even localhost) because you get the error:
ping: icmp open socket: Operation not permitted