about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-03 21:26:28 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-03 21:26:28 +0000
commit6cac69275f7319e30f37115640dd3c56c07757e1 (patch)
tree8aed0cb4e428094da8dfd4142554fde905976da8 /nscd
parent5e1f32525aff13aea730bde8954209b243605787 (diff)
downloadglibc-6cac69275f7319e30f37115640dd3c56c07757e1.tar.gz
glibc-6cac69275f7319e30f37115640dd3c56c07757e1.tar.xz
glibc-6cac69275f7319e30f37115640dd3c56c07757e1.zip
(nscd_init): Remove if block which should have been removed as part of the -S option removal.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index caafeb69b0..802b7c02d2 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1,5 +1,5 @@
 /* Inner loops of cache daemon.
-   Copyright (C) 1998-2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1998-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -430,13 +430,6 @@ fail:
 void
 nscd_init (void)
 {
-  /* Secure mode and unprivileged mode are incompatible */
-  if (server_user != NULL)
-    {
-      dbg_log (_("Cannot run nscd in secure mode as unprivileged user"));
-      exit (4);
-    }
-
   /* Look up unprivileged uid/gid/groups before we start listening on the
      socket  */
   if (server_user != NULL)