Jan Engelhardt <jengelh(a)medozas.de> writes:
Superuser permissions are required to run it anyway.
Yes it is. Iptraf-ng can be compiled with -D_ALLOWUSERS and can be
set suid to binary hence user can run iptraf-ng without root
permissions. Nevertheless this is not good behavior, because you can run
iptraf-ng only once right now. It creates pid and check if other
instance is running thus only one user can run it.
Frederic does debian build iptraf with -D_ALLOWUSERS and suid?
Signed-off-by: Jan Engelhardt <jengelh(a)medozas.de>
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5ecdd86..c2f4420 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
AM_CFLAGS = ${regular_CFLAGS}
-bin_PROGRAMS = iptraf-ng rvnamed-ng
+sbin_PROGRAMS = iptraf-ng rvnamed-ng
NULL =
TUI_C =
Patch is not complete. It need to be patched spec file also, but if you
are not familiar I'll fix it. Taken.
--
Nikola