Changeset 96 for branch/RHEL4-stig
- Timestamp:
- 09/13/07 15:33:50 (1 year ago)
- Files:
-
- branch/RHEL4-stig/RPM/clip.spec (modified) (1 diff)
- branch/RHEL4-stig/scripts/installer.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branch/RHEL4-stig/RPM/clip.spec
r9 r96 46 46 /usr/share/clip/man/man8/xar.8 47 47 /usr/share/clip/man/man8/integrity.8 48 /usr/share/clip/stig 49 /usr/share/clip/stig/run-fixes.sh 50 /usr/share/clip/stig/cat1/gen00460.sh 51 /usr/share/clip/stig/cat1/lnx00320.sh 52 /usr/share/clip/stig/cat1/lnx00580.sh 53 /usr/share/clip/stig/cat2/gen000020.sh 54 /usr/share/clip/stig/cat2/gen000460.sh 55 /usr/share/clip/stig/cat2/gen000600.sh 56 /usr/share/clip/stig/cat2/gen000920.sh 57 /usr/share/clip/stig/cat2/gen001260.sh 58 /usr/share/clip/stig/cat2/gen002820.sh 59 /usr/share/clip/stig/cat2/gen003320.sh 60 /usr/share/clip/stig/cat2/gen003865.sh 61 /usr/share/clip/stig/cat2/gen004820.sh 62 /usr/share/clip/stig/cat2/lnx00340.sh 63 /usr/share/clip/stig/cat2/gen000400.sh 64 /usr/share/clip/stig/cat2/gen005400.sh 65 /usr/share/clip/stig/cat2/lnx00440.sh 66 /usr/share/clip/stig/cat2/gen000480.sh 67 /usr/share/clip/stig/cat2/gen000800.sh 68 /usr/share/clip/stig/cat2/gen000980.sh 69 /usr/share/clip/stig/cat2/gen002320.sh 70 /usr/share/clip/stig/cat2/gen002960.sh 71 /usr/share/clip/stig/cat2/gen003600.sh 72 /usr/share/clip/stig/cat2/gen004000.sh 73 /usr/share/clip/stig/cat2/gen000440.sh 74 /usr/share/clip/stig/cat2/gen000580.sh 75 /usr/share/clip/stig/cat2/gen000820.sh 76 /usr/share/clip/stig/cat2/gen001020.sh 77 /usr/share/clip/stig/cat2/gen002560.sh 78 /usr/share/clip/stig/cat2/gen003080.sh 79 /usr/share/clip/stig/cat2/gen003740.sh 80 /usr/share/clip/stig/cat2/gen004540.sh 81 /usr/share/clip/stig/cat2/gen006620.sh 82 /usr/share/clip/stig/cat2/lnx00520.sh 83 /usr/share/clip/stig/cat3/gen001280.sh 84 /usr/share/clip/stig/cat3/gen003520.sh 85 /usr/share/clip/stig/cat3/gen004560.sh 48 86 /etc/integrity.conf 49 87 /etc/security/pam_env.conf branch/RHEL4-stig/scripts/installer.in
r10 r96 7 7 PAMDIR=$BASE/clip/conf/pam 8 8 MANDIR=$BASE/clip/man/man8 9 9 STIGFIXDIR=$BASE/clip/stig # It is assumed that a file named run-fixes.sh exists in 10 # STIGFIXDIR. 10 11 Copy() { 11 12 local src=$1 dst=$2 … … 55 56 } 56 57 58 # Install a collection of scripts to make CLIP 59 # STIG-compliant. 60 # Since these scripts are not likely to be found on the system, 61 # cp and not Copy() is used to install these files. 62 InstallStig() { 63 for d in $(ls -R STIGFIXDIR); do 64 cp -r $d /usr/share/clip/stig &2>/dev/null 65 done 66 } 67 68 # Run the scripts installed in InstallStig. 69 # This function assumes that a file named run-fixes.sh has been installed 70 # in STIGFIXDIR, and is executable by root; this happens in InstallStig. 71 # run-fixes.sh is used to launch the individual scripts. 72 RunStigFixes() { 73 if [ -x $STIGFIXDIR/run-fixes.sh ]; then 74 $STIGFIXDIR/run-fixes.sh 75 elif 76 echo "Could not locate STIG fix script $STIGFIXDIR/run-fixes.sh."; 77 fi 78 } 79 57 80 cat <<EOM 58 81 Certifiable Linux Integration Platform Installation Log … … 67 90 InstallPam 68 91 InstallMan 92 InstallStig 93 RunStigFixes
