Cover V04, I01
Article
Listing 1
Listing 2

jan95.tar


Listing 1: checksys--Checks files and permissions against a master file

# CHECKSYS SAMPLE SCRIPT
# This program will create a list to check your files and
# permissions against a master file.  When running for the first
# time be sure to create a master.  This can be done by commenting
# out the diff statement and then mv the checkfil file to master.

ls -l /etc/* > checkfil
ls -l /dev/* >> checkfil    #add other key files as required
ls -l /bin/* >> checkfil
ls -l /usr/adm/* >> checkfil

diff master checkfil > diffout