Changeset 143

Show
Ignore:
Timestamp:
12/20/07 14:45:14 (1 year ago)
Author:
slawrence
Message:

Fixed kickstart errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RHEL5.1/kickstart/clip.ks

    r142 r143  
    102102logvol / --fstype ext3 --name=rootVol --vgname=VolGroup00 --size=1024 --grow 
    103103logvol /var --fstype ext3 --name=varVol --vgname=VolGroup00 --size=1024 --grow 
    104 logvol /home --fstype ext3 --name=homeVol --vgname=VolGroup00 --size=1 --grow 
     104logvol /home --fstype ext3 --name=homeVol --vgname=VolGroup00 --size=256 --grow 
    105105logvol /tmp --fstype ext3 --name=tmpVol --vgname=VolGroup00 --size=1024 --grow 
    106106 
     
    427427                ## (GEN003180: CAT II) (Previously – G210) The SA will ensure cron logs have  
    428428                ## permissions of 600, or more restrictive. 
     429                touch /var/log/cron 
    429430                chmod 600 /var/log/cron 
    430431 
     
    479480                ## (GEN002700: CAT I) (Previously – G095) The SA will ensure audit data files 
    480481                ## have permissions of 640, or more restrictive. 
    481                 chmod 600 /var/log/audit/* 
    482                 chmod 600 /etc/audit/audit.rules 
     482                touch /var/log/audit/audit.log 
     483                chmod 640 /var/log/audit/* 
     484                chmod 640 /etc/audit/audit.rules 
    483485 
    484486                # 4.B.4.a(6)(d)(1) 
     
    496498                        cat <<-EOF >> /etc/audit/audit.rules 
    497499                                -a exit,always -w /bin/login -p x 
    498                                 -a exit,possible -w /bin/logout -F success=0 
     500                                -a exit,always -w /bin/logout -F success=0 
    499501                        EOF 
    500502 
     
    535537                                -a exit,always -S umount2 
    536538                                -a exit,always -S adjtimex 
    537                                 -a exit,always -S settimeofday 
    538539                                -a exit,always -S kill 
    539                                 -a exit,always -S reboot 
    540540                                -a exit,always -w /usr/sbin/pwck 
    541541                                -a exit,always -w /bin/chgrp 
     
    585585                        ## all security personnel actions 
    586586                        cat <<-EOF >> /etc/audit/audit.rules 
    587                                 -a exit,possible -S init_module 
    588                                 -a exit,possible -S delete_module 
    589                                 -a exit,possible -w /bin/su 
     587                                -a exit,always -S init_module 
     588                                -a exit,always -S delete_module 
     589                                -a exit,always -w /bin/su 
    590590                        EOF 
    591591 
     
    11401140                ## and the SA will ensure user files and directories will have an initial 
    11411141                ## permission no more permissive than 700, and never more permissive than 750. 
    1142                 for BASEDIR  in /home /root 
     1142                for BASEDIR  in /home/* /root 
    11431143                do 
    1144                         find $DIR -type f -exec chmod 600 '{}'\; 
    1145                         find $DIR -type d -exec chmod 700 '{}'\; 
     1144                        find $BASEDIR -type f -exec chmod 600 '{}' \; 
     1145                        find $BASEDIR -type d -exec chmod 700 '{}' \; 
    11461146                done 
    11471147 
     
    13221322                chown root:root /var/crash 
    13231323                chmod -R 700 /var/crash 
    1324  
    1325                 ## (GEN04540: CAT II) The SA will ensure the help sendmail command is 
    1326                 ## disabled. 
    1327                 mv /etc/mail/helpfile /etc/mail/helpfile.bak 
    1328                 echo "" > /etc/mail/helpfile 
    13291324 
    13301325                ## (GEN004560: CAT II) (Previously – G646) To help mask the e-mail version,  
     
    19611956 
    19621957# 7.B.2.i(1) 
    1963 # KickStart Actions: None - GEN006580 already implemented above 
     1958# KickStart Actions: None - GEN006620 already implemented above 
    19641959 
    19651960# 7.B.2.i(2)