DEV Community

Roy
Roy

Posted on

1 1

run ping command as normal user in wsl2

run getcap /bin/ping on a normal linux distribution,

$ getcap /bin/ping
/bin/ping = cap_net_raw+ep

change capability on the /bin/ping of wsl2

setcap cap_net_raw+ep /bin/ping
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay