diff options
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | gpsd.c | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -120,7 +120,7 @@ for (name, default, help) in boolopts: opts.Add(BoolVariable(name, help, default)) nonboolopts = ( - ("gpsd_user", "(undefined)", "privilege revocation user",), + ("gpsd_user", "nobody", "privilege revocation user",), ("gpsd_group", "(undefined)", "privilege revocation group"), ("prefix", "/usr/local", "installation directory prefix"), ("limited_max_clients", 0, "maximum allowed clients"), @@ -61,11 +61,6 @@ #define PROTO_TTY "/dev/ttyS0" /* correct for Linux */ #endif -/* Name of (unprivileged) user to change to when we drop privileges. */ -#ifndef GPSD_USER -#define GPSD_USER "nobody" -#endif - /* * Timeout policy. We can't rely on clients closing connections * correctly, so we need timeouts to tell us when it's OK to |