This file is indexed.

/usr/lib/news/bin/sendxbatches is in inn 1:1.7.2q-44.1ubuntu2.

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
35
36
37
38
39
40
#!/bin/sh
# $Id: sendxbatches.sh,v 1.2 1996/09/06 06:57:41 brister Exp $ 
# By petri@ibr.cs.tu-bs.de with mods by libove@jerry.alf.dec.com
#
#  Script to send xbatches for a site, wrapped around innxbatch
#  Invocation: sendxbatches.sh <sitename> <hostname> <xbatch file name> ...
#
##  TODO: - we should check the amount of queued batches for the site,
##          to prevent disk overflow due to unreachable sites.

if [ $# -lt 3 ]
then
	echo "usage: $0 <sitename> <hostname> <xbatch file name>"
	exit 1
fi

##  =()<. @<_PATH_SHELLVARS>@>()=
. /usr/lib/news/innshellvars

LOCK=${LOCKS}/LOCK.sendxbatches
shlock -p $$ -f ${LOCK}
if [ $? -ne 0 ]
then
	echo Locked by `cat ${LOCK}`
	exit 1
fi

trap 'rm -f ${LOCK} ; exit 1' 1 2 3 15
site="$1"
host="$2"
shift; shift

ctlinnd -s flush "$site"
if [ $? -ne 0 ]
then
	echo "ctlinnd flush $site failed."
	exit 1
fi
sleep 5
$NEWSBIN/innxbatch -D -v "$host" $*