#!/bin/ksh -p # $Id: //depot/dev/proactive/explorer3/tools/secure#1 $ # # Secure data collection will not run by default. # It must be enabled with the -w switch (-w secure,default) # This module collects files of a secure nature and should # be discussed with the customer before being used. # Source tools functions . ${EXP_LIB}/exp_tools # Run if specified to do so script=`basename $0` which_gate_exit $script ROOTDIR=`awk -F':' ' ($1=="root") { print $6 } ' /etc/passwd` get_file "/etc/passwd" etc/ get_file "/etc/group" etc/ get_file "/etc/hosts.equiv" etc/shells/ get_file "${ROOTDIR}/.rhosts" etc/shells/rhosts!