From c36b9ad13f2d208d7f0ad8c8b33875b4f7888114 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 11 Feb 2001 16:44:15 +0000 Subject: [PATCH] updates. --- apps/silcd/server.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/silcd/server.c b/apps/silcd/server.c index c2efb186..e6bfa02f 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -366,7 +366,7 @@ void silc_server_daemonise(SilcServer server) !server->config->identity->group) { fprintf(stderr, "Error:" "\tSILC server must not be run as root. For the security of your\n" - "\tsystem it is strongly suggested that you run SILC tunder dedicated\n" + "\tsystem it is strongly suggested that you run SILC under dedicated\n" "\tuser account. Modify the [Identity] configuration section to run\n" "\tthe server as non-root user.\n"); exit(1); @@ -398,8 +398,11 @@ void silc_server_daemonise(SilcServer server) /* Check whether user and/or group is set to root. If yes, exit immediately. Otherwise, setgid and setuid server to user.group */ if (gr->gr_gid==0 || pw->pw_uid==0) { - SILC_LOG_DEBUG(("FATAL: silcd will not run at root privileges")); - fprintf(stderr, "User and/or group not set. Please set them\n"); + fprintf(stderr, "Error:" + "\tSILC server must not be run as root. For the security of your\n" + "\tsystem it is strongly suggested that you run SILC under dedicated\n" + "\tuser account. Modify the [Identity] configuration section to run\n" + "\tthe server as non-root user.\n"); exit(1); } else { /* Fork server to background, making it a daemon */ -- 2.43.0