Quantcast
Channel: Why isn't 'nethogs' installed with the setuid bit set? - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Michael Homer for Why isn't 'nethogs' installed with the setuid bit...

ping is setuid because it, while fairly "safe", requires the ability to open raw sockets. Consequently it needs the CAP_NET_RAW capability, or to be root. nethogs is different for a few reasons:...

View Article



Why isn't 'nethogs' installed with the setuid bit set?

I've been using nethogs for a while now, having to sudo every time, while ping has the setuid bit set. Today I set it for nethogs and it works: $ ls -l $(which nethogs) $(which ping) -rwxr-xr-x 1 root...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images