This file is indexed.

/usr/lib/news/control/sendsys 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#! /bin/bash
##  $Revision: 1.16 $
##  Sendsys control-message handler

PROG=sendsys
##  Some shells don't pass in $* unless we explicitly pass it in here.
##  =()<. @<_PATH_PARSECTL>@ "$@">()=
. /usr/lib/news/bin/parsecontrol "$@"

##  See if the poster should have given an argument.
case "${ACTION}-$1" in
doifarg-)
    ACTION=mail
    ;;
doifarg-*)
    ACTION=doit
    ;;
esac

SUBJECT="Sendsys reply from `innconfval pathhost`"
case ${ACTION} in
mail)
    export FROM MAILCMD SUBJECT ARTICLE
    (
	echo "${FROM} posted a sendsys requesting your newsfeeds file."
	echo ''
	echo 'To reply, do the following:'
	echo "	${MAILCMD} -s \"${SUBJECT}\" ${FROM} <${NEWSFEEDS}"
	echo ''
	echo 'The full article was:'
	cat ${ARTICLE}
    ) | sed -e 's/^~/~~/' | ${MAILCMD} -s "sendsys by ${FROM}" ${NEWSMASTER}
    ;;
logit)
    ${WRITELOG} ${LOGFILE} "sendsys by ${FROM}; reply skipped" <${ARTICLE}
    ;;
doit)
    case "$1" in
    "")
	${MAILCMD} -s "${SUBJECT}" ${REPLYTO} <${NEWSFEEDS}
	sed -e 's/^~/~~/' <${ARTICLE} \
	    | ${MAILCMD} -s "sendsys by ${FROM}; reply sent" ${NEWSMASTER} 
	;;
    *)
	${AWK} "/^$1"'[\/:\\]/,/[^\\]$/' ${NEWSFEEDS} >${TEMP}
	trap 'rm -f ${TEMP} ; exit' 1 2 3 15
	if [ -s ${TEMP} ] ;  then
	    ${MAILCMD} -s "${SUBJECT} for $1" ${REPLYTO} <${TEMP}
	    sed -e 's/^~/~~/' <${ARTICLE} \
		| ${MAILCMD} -s "sendsys $1 by ${FROM}; reply sent" \
		    ${NEWSMASTER}
	fi
	rm -f ${TEMP}
	;;
    esac
    ;;
esac

exit