From: Vincent Bernat Date: Mon, 16 May 2016 06:09:05 +0000 (+0200) Subject: daemon: tell user to create user/group when missing X-Git-Tag: 0.9.3~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff0dde0e5c7e7f9b8b962ac3b05db286e78bfd53;p=thirdparty%2Flldpd.git daemon: tell user to create user/group when missing --- diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index da2e37a5..d742b7e1 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1630,10 +1630,10 @@ lldpd_main(int argc, char *argv[], char *envp[]) /* Grab uid and gid to use for priv sep */ #ifdef ENABLE_PRIVSEP if ((user = getpwnam(PRIVSEP_USER)) == NULL) - fatalx("main", "no " PRIVSEP_USER " user for privilege separation"); + fatalx("main", "no " PRIVSEP_USER " user for privilege separation, please create it"); uid = user->pw_uid; if ((group = getgrnam(PRIVSEP_GROUP)) == NULL) - fatalx("main", "no " PRIVSEP_GROUP " group for privilege separation"); + fatalx("main", "no " PRIVSEP_GROUP " group for privilege separation, please create it"); gid = group->gr_gid; #endif