1 rizwank 1.1.1.2 b0VIM 6.3 <B\; 0 rizwank web ~rizwank/all_info_tools/audit.sh 3210#"! U tp ad z
e c G
uname -a > info.log echo "######### Network settings - netstat,services,chkconfig" >> $HOSTNAME.network.log touch $HOSTNAME.network.log df >> $HOSTNAME.overall.log echo "######### df mounts" id >> $HOSTNAME.overall.log w >> $HOSTNAME.overall.log uname -a >> $HOSTNAME.overall.log echo $HOSTNAME >> $HOSTNAME.overall.log echo "########## HOSTNAME, uname, w, whoami, id" >> $HOSTNAME.overall.log touch $HOSTNAME.overall.log cd /tmp/audit_ait mkdir /tmp/audit_ait #(c) Rizwan Kassim 2005 #Audit Script - grabs useful info and packs it away #!/bin/sh
|