From: Pekka Riikonen Date: Sun, 11 Feb 2001 16:44:15 +0000 (+0000) Subject: updates. X-Git-Tag: SILC.0.1~253 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=c36b9ad13f2d208d7f0ad8c8b33875b4f7888114;p=silc.git updates. --- 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 */