xccdf-fix.sh
Download xccdf-fix.sh
1: #!/bin/bash
2: # OpenSCAP fix generator output for benchmark: Guide to the Secure Configuration of Fedora Linux
3:
4: # XCCDF rule: rule-2.3.3.5.a
5: /usr/sbin/authconfig --passalgo=sha512 --update
6:
7: # XCCDF rule: rule-2.3.5.2.a
8: # CCE-4144-2
9: chown root /boot/grub/grub.conf
10:
11: # XCCDF rule: rule-2.3.5.2.b
12: # CCE-4197-0
13: chown :root /boot/grub/grub.conf
14:
15: # XCCDF rule: rule-2.3.5.2.c
16: # CCE-3923-0
17: chmod 600 /boot/grub/grub.conf
18:
19: # XCCDF rule: rule-2.5.5.1.a
20: # CCE-4167-3
21: chkconfig ip6tables on
22:
23: # XCCDF rule: rule-2.5.5.1.b
24: # CCE-4189-7
25: chkconfig iptables on
26:
27: # XCCDF rule: rule-2.6.1.a
28: # CCE-3679-8
29: chkconfig rsyslog on
30:
31: # generated: 2011-06-28T01:00:42-04:00
32: # END OF SCRIPT