]> git.pld-linux.org Git - packages/ntop.git/blame - ntop-running-user.patch
- 4.0.1
[packages/ntop.git] / ntop-running-user.patch
CommitLineData
8db4b37a
ER
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 1.274743 seconds and 4 git commands to generate.