This file is indexed.

/usr/lib/news/innshellvars is in inn2 2.5.2+20110413-1build1.

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

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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#! /bin/sh
##  $Id: innshellvars.in 9146 2010-10-30 09:55:04Z iulius $
##  Set up any and all shell variables that an INN shell script
##  might need.  Also sets umask.

##  NOTE:  When adding stuff here, add the corresponding variables to 
##  innshellvars.tcl and the INN::Config Perl module (as well as the
##  old innshellvars.pl script).

LC_CTYPE=C; export LC_CTYPE

prefix=/usr/lib/news
exec_prefix=${prefix}
eval `${exec_prefix}/bin/innconfval -s`

NEWSHOME=${PATHNEWS}
SPOOLDIR=${PATHSPOOL}
MOST_LOGS=${PATHLOG}
export NEWSHOME SPOOLDIR MOST_LOGS

NEWSBIN=${PATHBIN}
NEWSETC=${PATHETC}
NEWSLIB=/usr/lib/news
INNDDIR=${PATHRUN}
LOCKS=${PATHRUN}
export NEWSBIN NEWSETC NEWSLIB INNDDIR LOCKS

ERRLOG=${MOST_LOGS}/errlog
LOG=${MOST_LOGS}/news

ARCHIVEDIR=${PATHARCHIVE}
SPOOL=${PATHARTICLES}
BATCH=${PATHOUTGOING}
INCOMING=${PATHINCOMING}
OVERVIEWDIR=${PATHOVERVIEW}
SPOOLNEWS=${PATHINCOMING}
BADNEWS=${PATHINCOMING}/bad

ACTIVE=${PATHDB}/active
ACTIVETIMES=${PATHDB}/active.times
CTLFILE=${NEWSETC}/control.ctl
CTLWATCH=${NEWSETC}/innwatch.ctl
HISTORY=${PATHDB}/history
NEWACTIVE=${PATHDB}/active.tmp
NEWSFEEDS=${NEWSETC}/newsfeeds
NEWSGROUPS=${PATHDB}/newsgroups
OLDACTIVE=${PATHDB}/active.old
PATH_MOTD_INND=${NEWSETC}/motd.innd
PATH_MOTD_NNRPD=${NEWSETC}/motd.nnrpd
PATH_MOTD=${PATH_MOTD_NNRPD}
EXPIRECTL=${NEWSETC}/expire.ctl
LOCALGROUPS=${NEWSETC}/localgroups

CONTROLPROGS=${PATHCONTROL}
INNCONFVAL=${NEWSBIN}/innconfval
INND=${NEWSBIN}/innd
INNWATCH=${NEWSBIN}/innwatch
INEWS=${NEWSBIN}/inews
RNEWS=${NEWSBIN}/rnews
PERL_STARTUP_INND=${PATHFILTER}/startup_innd.pl
PERL_FILTER_INND=${PATHFILTER}/filter_innd.pl
PERL_FILTER_NNRPD=${PATHFILTER}/filter_nnrpd.pl
PYTHON_FILTER_INND=${PATHFILTER}/filter_innd.py
PATH_PYTHON_INN_MODULE=${PATHFILTER}/INN.py
PATH_TCL_STARTUP=${PATHFILTER}/startup.tcl
PATH_TCL_FILTER=${PATHFILTER}/filter.tcl

DAILY=${LOCKS}/LOCK.news.daily

NEWSCONTROL=${INNDDIR}/control
NNTPCONNECT=${INNDDIR}/nntpin
SERVERPID=${INNDDIR}/innd.pid
INNWSTATUS=${INNDDIR}/innwatch.status
WATCHPID=${INNDDIR}/innwatch.pid

AWK='mawk'
SED='/bin/sed'
INNDF=${NEWSBIN}/inndf
EGREP='/bin/grep -E'
PERL='/usr/bin/perl'
GPGV='/usr/bin/gpgv'
PGP=''
SORT='/usr/bin/sort'
GETFTP='${exec_prefix}/bin/simpleftp'
UUSTAT=''
UUX='uux'

BZIP2='/bin/bzip2'
COMPRESS='compress'
GZIP='/bin/gzip'
UNCOMPRESS='/bin/gzip -d'
LOG_COMPRESS='/bin/gzip'
Z='.gz'

if [ "$OVMETHOD" = "ovdb" ]; then
    DB_HOME="${PATHOVERVIEW}"
    export DB_HOME
fi

TEMPSOCK=`basename ${INNDDIR}/ctlinndXXXXXX | ${SED} -e 's/XXXXXX$/*/'`
TEMPSOCKDIR=`echo ${INNDDIR}/ctlinndXXXXXX | ${SED} -e 's@/[^/]*$@@'`

NEWSMASTER=usenet
NEWSUSER=${RUNASUSER}
NEWSGROUP=${RUNASGROUP}

FILEMODE=0664
INEWSMODE=0550
RNEWSMODE=0500

DO_DBZ_TAGGED_HASH=DONT

TMPDIR=${PATHTMP}; export TMPDIR

SPOOLTEMP=${PATHTMP}

NEWSLBIN=${NEWSHOME}/local
export NEWSLBIN

UMASK=02
umask 02

SYSLOG_FACILITY=`echo "LOG_NEWS" | tr "[:upper:]" "[:lower:]" | ${SED} -e 's/log_//'`

PATH=${NEWSLBIN}:${NEWSBIN}:${PATH}:/bin:/usr/bin
export PATH

HOME=$PATHNEWS
export HOME


##  Load another script that can override or add variables. 
if [ -x ${PATHETC}/innshellvars.local ]; then
    . ${PATHETC}/innshellvars.local
fi