13 lines
458 B
Plaintext
13 lines
458 B
Plaintext
$OpenBSD: patch-src_libs_zbxnix_daemon_c,v 1.7 2011/08/21 09:21:02 ajacoutot Exp $
|
|
--- src/libs/zbxnix/daemon.c.orig Thu Aug 4 10:23:13 2011
|
|
+++ src/libs/zbxnix/daemon.c Sun Aug 21 11:01:16 2011
|
|
@@ -182,7 +182,7 @@ int daemon_start(int allow_root)
|
|
pid_t pid;
|
|
struct passwd *pwd;
|
|
struct sigaction phan;
|
|
- char user[7] = "zabbix";
|
|
+ char user[8] = "_zabbix";
|
|
|
|
/* running as root ? */
|
|
if (0 == allow_root && (0 == getuid() || 0 == getgid()))
|