]> git.pld-linux.org Git - packages/ntop.git/blob - ntop-running-user.patch
- two more patches from fc
[packages/ntop.git] / ntop-running-user.patch
1 --- ntop-3.2/prefs.c    2005-09-29 10:39:06.000000000 +1200
2 +++ ntop-3.2/prefs.c.mjk        2006-07-06 17:34:34.000000000 +1200
3 @@ -772,8 +772,8 @@
4        /* We're root */
5        char *user;
6  
7 -      pw = getpwnam(user = "nobody");
8 -      if(pw == NULL) pw = getpwnam(user = "anonymous");
9 +      pw = getpwnam(user = "ntop");
10 +      if(pw == NULL) pw = getpwnam(user = "nobody");
11  
12        if(pw != NULL) {
13         myGlobals.userId  = pw->pw_uid;
This page took 0.072267 seconds and 3 git commands to generate.