This file is indexed.

/usr/lib/tiger/util/mksig is in tiger 1:3.2.3-12.

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
 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
#!/bin/sh
#
#     tiger - A UN*X security checking system
#     Copyright (C) 1993 Douglas Lee Schales, David K. Hess, David R. Safford
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2, or (at your option)
#    any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#     Please see the file `COPYING' for the complete copyright notice.
#
# util/mksig - 04/22/93
#
# Script to make signatures for a supported operating system.
#
# 08/28/2003 - jfs - Added ARSC change to use MAJOR instead of REV
# 04/23/2003 - jfs - added missing MD5 definition and check
#                    merged with original (2.2.3) mksig and removed games
#                    added @DEST and @CONFIG definitions
#                    added SunOS dirs
#                    removed CC from needed commands (it is not)
#
#-----------------------------------------------------------------------------
#

basedir=${TIGERHOMEDIR:=.}

for parm
do
   case $parm in
   -B) basedir=$2; break;;
   esac
done

[ ! -r $basedir/config ] && {
  echo "--ERROR-- [init002e] No 'config' file in \`$basedir'."
  exit 1
}

. $basedir/config
# MD5 by default is in BINDIR but could be defined on configuration
# too (i.e. not use Tiger's)
[ -z "$MD5" ] && MD5="$BINDIR/md5"

haveallof()
{
  retval=0
  what=$1
  shift
  for file
  do
    eval cmd=\$$file
    [ ! -n "$cmd"  ] && {
      echo "--ERROR-- [init001e] Don't have all required $what (missing $file)"
      retval=1
    }
  done
  return $retval
}

haveallof commands CAT MD5 || exit 1
haveallof variables BASEDIR TESTLINK WORKDIR

[ ! $TESTEXEC $MD5 ] && {
  echo "Don't see MD5 (have you compiled Tiger binaries?)... exiting..."
  exit 1
}

comment="$OS $REV"
DIRLIST="/usr/bin /bin /usr/local/bin /usr/sbin /etc /usr/lib /sbin /lib /usr/libexec /usr/local/sbin /usr/X11/bin /usr/games /usr/lib/news/bin /var/lib/games"
# For SunOS
DIRLIST="$DIRLIST /usr/etc /usr/ucb /usr/mbin /usr/bsd /usr/5bin /usr/sysv"


outfile="signatures.$OS-$REV-$ARCH"
MAJOR=`echo $REV | awk -F\. '{print $1}'`

echo "Working..."

{
  echo "#"
  echo "# Signature file for $OS $REV $ARCH, generated `date`"
  echo "#"
  echo "#@DEST=$OS/$MAJOR/$ARCH"
  echo "#@CONFIG=$OS/$MAJOR"

  while read file
  do
    indir=
    for dir in $DIRLIST
    do
      [ ! $TESTLINK $dir ] && {
	[ -f $dir/$file -a ! $TESTLINK $dir/$file -a $TESTEXEC $dir/$file ] && {
	  indir=$dir
	  if [ -r $indir/$file ]; then
	    sig=`$MD5 < $indir/$file`
	    echo "Y .       $indir/${file} ${sig} $comment"
	  else
	    echo "# $indir/$file not readable."
	  fi
	}
      }
    done
    
    if [ ! -n "$indir" ]; then
      echo "# $file not found."
    fi
  done <<EOL
at
atc
bash
cardctl
chage
chfn
chsh
crontab
csh
ct
cu
dm
dos
dump
dumpreg
expreserve
file
fingerd
ftpd
gpasswd
inc
inetd
in.fingerd
in.ftpd
inndstart
in.rexecd
in.rlogind
in.rshd
in.telnetd
in.tftpd
in.uucpd
ksh
lockfile
login
lpc
lpd
lpq
lpr
lprm
lpstat
ls
man
minicom
mount
movemail
mutt
named
netreport
netstat
newgrp
ntpdate
nwsfind
nxterm
passwd
ping
portmap
procmail
ps
pwdb_chkpwd
rcp
rdist
restore
restorefont
restorepalette
restoretextmode
rexecd
rlogin
rlogind
robots
rpc.mountd
rpc.passwd
rpc.yppasswdd
rsh
rshd
rxvt
screen
sendmail
sendmail.mx
seyon
sh
sperl5.00404
ssh
sshd
startinnfeed
su
suidperl
tcpd
tcsh
telnet
telnetd
tftpd
traceroute
umount
userhelper
usernetctl
uucico
uucp
uucpd
uuname
uustat
uux
uuxqt
wall
write
XConsole
xlock
xscreensaver
xterm
Xwrapper
ypbind
ypserv
ypxfrd
zgv
zsh
EOL
} > $outfile

echo "Signatures stored in $outfile."