On Wed, Sep 23, 2009 at 03:08:17PM -0400, Jeffrey Sheinberg wrote: > Nethogs refuses to run from a non-root user under super (an suid root > program), it also refuses to run as a non-root user if it is set suid > root directly.
There is a compile-time 'NEEDROOT' option in nethogs.h which turns off the (indeed crude) root check on startup. When set to false and run as an unprivileged user, it seems to fail fairly elegantly with a creating socket failed while establishing local IP - are you root? I can't really remember why we're checking for root at all. Unless I think of something, I'd say NEEDROOT can at least be set to false by default, or (better yet, I guess) the check can be removed from the code entirely. Arnout -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org