From 397d46fdbe0dd55a8d3aee931a32d744cdf6ad27 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Jun 1999 09:36:39 +0000 Subject: Enable use of nscd_nischeck and secure tables. --- nscd/nscd.init | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nscd/nscd.init') diff --git a/nscd/nscd.init b/nscd/nscd.init index 63172a0..6dc9d76 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 -- cgit v1.1