RSSAmplifier

Nogweii's Notes · Jan 12, 2026

Linux/Non-root users can ping

0
Sign in to vote or save

nogweii.net

Configuring non-root users to send ICMP datagrams

How does a non-root user ping another machine?

Classically, that has been to make ping setuid. After that, it had the raw
network capability so it could send without root privileges but that’s a fairly
coarse privilege - it can create any type of socket, not just ICMP.

Better to use the newest option net.ipv4.ping_group_range.

Security concerns? Fair, but consider: Fedora and Arch enable this for all
users by default.

Links

Read the original on nogweii.net

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.