UNIX Auditing Script
Came across this script to collect information on your unix host for auditing purposes: <—————————————————-CUT———————————————————————–> #!/bin/sh echo ‘# Hostname: ‘`hostname` >> audit.out echo ‘# Date: ‘`date` >> audit.out echo Audit Tests >> audit.out echo User Accounts >> audit.out cat /etc/passwd >> audit.out echo Shadow File >> audit.out cat /etc/shadow >> audit.out ls -l /etc/shadow >> …