/usr/lib/tiger/systems/Linux/2/gen_inetd is in tiger 1:3.2.3-10.
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 | #!/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.
#
# Linux/2/gen_inetd - 06/14/93
#
# Generates sets for Linux systems, based on the SunOS version.
#
# 01/15/2004 - jfs - Use XINETDCONF and INETDCONF instead
# 01/13/2004 - jfs - Do not use inetd.conf if it does not exist
#
#-----------------------------------------------------------------------------
#
# TODO:
# - This script has to generate also proper sets for xinetd, notice
# that some checks (check_tcpd, check_rootkit) depend on this and they
# use the inetd format:
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
# This scripts needs to read in all the inetd configuration files
# (usually under /etc/xinetd.d/) and generate a new file, one line
# per service.
#
#-----------------------------------------------------------------------------
[ -n "$INETDCONF" ] && [ -f $INETDCONF ] && {
$GREP -v '^#' $INETDCONF |
$SORT > $WORKDIR/etc_inetd.$$
echo "$INETDCONF" > $WORKDIR/etc_inetd.$$.src
echo $WORKDIR/etc_inetd.$$
}
#[ -n "$XINETDCONF" ] && [ -f $XINETDCONF ] && {
#}
|