File: 0003-change-default-user.patch

package info (click to toggle)
gross 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,664 kB
  • sloc: sh: 8,835; ansic: 7,330; makefile: 53; xml: 45
file content (14 lines) | stat: -rw-r--r-- 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Change the default user to gross, otherwise the statefile will be created as
nobody.

--- a/src/gross.c
+++ b/src/gross.c
@@ -586,7 +586,7 @@ main(int argc, char *argv[])
 	pool_limits_t limits;
 	sigset_t mask, oldmask;
 	struct passwd *pwd;
-	char *user = "nobody";
+	char *user = "gross";
 
 #ifdef DNSBL
 	dns_check_info_t *dns_check_info;