#!/bin/sh
#
#     tiger - A UN*X security checking system
#     Copyright (C) 2000-2002 Javier Fernandez-Sanguino Pea
#
#    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.
#
# check_listeningprocs: check which processes are listening in the
#   local system. This check is based on the generic check but will use
#   a Solaris-specific way to retrieve the information on processes.
#   It can be used whenever 'lsof' is not available.
#
# check_listeningprocs - 14 April 2003
#    Added support for Solaris
#
# 04/21/2003 - jfs - Removed useless echo, use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#                    Fixed typo in use safe delete instead of RM
#         