updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 11 Feb 2001 16:44:15 +0000 (16:44 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 11 Feb 2001 16:44:15 +0000 (16:44 +0000)
apps/silcd/server.c

index c2efb186f9f8ab1e6e404573aa9005439b20e2e6..e6bfa02f372676723d13e898c0bc0e3a0afca444 100644 (file)
@@ -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 */