This file is indexed.

/usr/lib/yp/ypxfr_2perday is in nis 3.17-34ubuntu3.

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
33
34
#! /bin/sh
#
# ypxfr_2perday    Transfer all NIS maps from the master
#                  in case we missed an update.
#                  (Or if we don't get automatic updates).
#
# Version:         @(#)ypxfr_2perday.sh  1.10  miquels@cistron.nl
#

if [ -f /etc/default/nis ]; then
        . /etc/default/nis
fi

YPBINDIR=/usr/lib/yp

if [ "${NISSERVER}" != "slave" ]; then
        exit 0
fi

if [ "${NISMASTER}" = "" ]; then
        NISMASTER=$(/usr/bin/ypwhich -m 2>/dev/null | awk '{print $2}' | head -1)
fi

ALL_MAPS=$(${YPBINDIR}/yphelper --maps ${NISMASTER})
MAPS="hosts.byaddr hosts.byname netgroup netgroup.byhost netgroup.byuser \
	networks.byname networks.byaddr"

for map in $MAPS
do
  if echo $ALL_MAPS | grep $map > /dev/null ; then
    [ -t 1 ] && echo "$YPBINDIR/ypxfr $map"
    $YPBINDIR/ypxfr $map
  fi
done