about summary refs log tree commit diff
path: root/nscd/nscd.init
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-13 09:36:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-13 09:36:39 +0000
commit397d46fdbe0dd55a8d3aee931a32d744cdf6ad27 (patch)
treef0c073699f7b3f86fee886d3d85f9f45de21ae1a /nscd/nscd.init
parent3de2d75e9cff1c6731bdf8d0441c18967e9bdb1c (diff)
downloadglibc-397d46fdbe0dd55a8d3aee931a32d744cdf6ad27.tar.gz
glibc-397d46fdbe0dd55a8d3aee931a32d744cdf6ad27.tar.xz
glibc-397d46fdbe0dd55a8d3aee931a32d744cdf6ad27.zip
Enable use of nscd_nischeck and secure tables.
Diffstat (limited to 'nscd/nscd.init')
-rw-r--r--nscd/nscd.init16
1 files changed, 8 insertions, 8 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init
index 63172a0d1a..6dc9d76b33 100644
--- a/nscd/nscd.init
+++ b/nscd/nscd.init
@@ -22,14 +22,14 @@
 case "$1" in
     start)
 	secure=""
-#	for table in passwd group
-#	do
-#		if egrep '^'$table':.*nisplus' /etc/nsswitch.conf >/dev/null
-#		then
-#			/usr/lib/nscd_nischeck $table ||
-#				secure="$secure -S $table,yes"
-#		fi
-#	done
+	for table in passwd group hosts
+	do
+		if egrep '^'$table':.*nisplus' /etc/nsswitch.conf >/dev/null
+		then
+			/usr/sbin/nscd_nischeck $table ||
+				secure="$secure -S $table,yes"
+		fi
+	done
         echo -n "Starting Name Switch Cache Daemon: "
 	daemon nscd $secure
         echo