File ntop-default_user.patch of Package ntop

Index: prefs.c
===================================================================
--- prefs.c.orig
+++ prefs.c
@@ -813,8 +813,8 @@ int parseOptions(int argc, char* argv[])
       /* We're root */
       char *user;
 
-      pw = getpwnam(user = "nobody");
-      if(pw == NULL) pw = getpwnam(user = "anonymous");
+      pw = getpwnam(user = "ntop");
+      if(pw == NULL) pw = getpwnam(user = "nobody");
 
       if(pw != NULL) {
 	myGlobals.userId  = pw->pw_uid;