How to use the Red Hat Enterprise Linux 5 STIG
Note that the content provided on this page is for informational purposes only and no warranty is implied. As with anything downloaded from the Internet, the downloader is responsible for reviewing the content before applying it to a system.
STIG'ing a RHEL 5 system in 10 easy steps
- Install RHEL 5.
-Please take note of DISA Partitioning requirements during installation.
- Install git. Git is used to check out a copy of the lockdown scripts from the Aqueduct source code repository. Providing the Aquaduct lockdown scripts as cryptographically signed RPMs is a future goal of the Aqueduct, but git is used in the mean time.
[root@host ~]# yum install git
- Create a directory where you would like to store the Aqueduct lockdown scripts and change to that directory.
[root@host ~]# mkdir ~/Aqueduct_STIG [root@host ~]# chmod 700 ~/Aqueduct_STIG [root@host ~]# cd ~/Aqueduct_STIG
- Use git to export an unrevisioned copy of the Aqueduct lockdown script tree.
[root@host ~]# git clone git://git.fedorahosted.org/git/aqueduct.git
- Change directories to rhel-5 and note the two directories. These directories contain the STIG guidance broken into what can be done in an automated manner (prod) and what needs to be done manually (manual-checks). Feel free to explore the contents of both.
[root@host ~]# cd rhel-5 [root@host ~]# ls manual-checks prod
- Change directories to prod and examine the file Aqueduct-STIG.sh. Aqueduct-STIG.sh will run the GEN*.sh lockdown elements in that directory.
[root@host ~]# cd prod [root@host ~]# cat Aqueduct-STIG.sh
- Examine the GEN*.sh files. Each GEN*.sh file corresponds to a lockdown element in the STIG. Note that each script is intelligently designed to be run multiple times on the same system -- text will be substituted intelligently instead of simply appending content to the end of files. If you observe that this is not the case, you've discovered a bug that should be reported to the Aqueduct mailing list.
- When you are comfortable with the content provided, run the Aqueduct-STIG.sh script which will run the GEN*.sh scripts in that directory. This will take a few minutes.
[root@host ~]# ./Aqueduct-STIG.sh
- 85% done! Once the automated content is complete, complete the STIG lockdown by following the manual guidance in the manual-checks directory.
- Provide feedback. Love it? Hate it? Have suggestions for improvement? Let the Aqueduct mailing list know!
USB devices are disabled. To enable USB devices backoff the following STIG scripts: GEN008460 and GEN008480