This file is indexed.

/usr/sbin/debian-edu-nscd-netgroup-cache is in debian-edu-config 1.818+deb8u2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash -e
# debian-edu-nscd-netgroup-cache
#
# 2016-23-05, workaround for bug #791562

if [ -z $1 ] ; then
  echo "usage: $0 (disable|enable)"
  exit 0
fi

# Get profile.
. /etc/debian-edu/config

# Disable/enable nscd netgroup caching.
if echo "$PROFILE" | grep -q 'Main-Server' ; then
    systemctl stop nscd.service
    sleep 1
    case "$1" in
	disable)
	    if [ -e /var/cache/nscd/netgroup ] ; then
		rm /var/cache/nscd/netgroup
	    fi
	    sed -i '/netgroup/ s=yes=no=' /etc/nscd.conf
	;;
	enable)
	    sed -i '/netgroup/ s=no=yes=' /etc/nscd.conf
	;;
    esac
    systemctl start nscd.service
fi

# Further information:  https://wiki.debian.org/DebianEdu/Status/Jessie