File tree Expand file tree Collapse file tree 4 files changed +33
-45
lines changed
Expand file tree Collapse file tree 4 files changed +33
-45
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,6 @@ rhel6stig_pam_cracklib_params: try_first_pass retry=3 maxrepeat=3 minlen={{ rhel
2222# SELinux settings
2323rhel6stig_selinux_pol : targeted
2424
25- # Only set this to true if you have a valid
26- # antivirus solution in your repositories, else it will fail every time.
27- rhel6stig_antivirus_required : no
28-
29- # AV settings
30- rhel6stig_av_package :
31- package :
32- - clamav
33- - clamav-scanner
34- - clamav-server
35- service : clamav-daemon
36-
3725# GPG Key locations
3826# These are the standard URL locations for GPG keys for RH and Cent.
3927# If running this against offline systems then specify an accessible
Original file line number Diff line number Diff line change 55
66start on control-alt-delete
77
8- exec /usr/bin/logger -p security.info "Ctrl-Alt-Delete pressed"
8+ exec /usr/bin/logger -p authpriv.notice "Ctrl-Alt-Delete pressed"
Original file line number Diff line number Diff line change 4040
4141- name : " HIGH | V-38497 | PATCH | The system must not have accounts configured with blank or null passwords"
4242 replace :
43- dest : /etc/pam.d/system-auth
43+ dest : /etc/pam.d/{{ item }}
4444 follow : yes
4545 regexp : ' ([ \t]+)nullok[ \t]*'
4646 replace : ' \1'
47+ with_items :
48+ - system-auth
49+ - password-auth
4750 tags :
4851 - cat1
4952 - high
Original file line number Diff line number Diff line change 17401740# - name: "MEDIUM | V-38652 | AUDIT | Remote file systems must be mounted with the 'nodev' option"
17411741# - name: "MEDIUM | V-38654 | AUDIT | Remote file systems must be mounted with the nosuid option"
17421742
1743- - name : " MEDIUM | V-38658 | PATCH | The system must prohibit the reuse of passwords within five iterations."
1744- pamd :
1745- name : system-auth
1746- new_type : password
1747- new_control : requisite
1748- new_module_path : pam_pwhistory.so
1749- module_arguments : use_authtok remember={{ rhel6stig_pass_reuse }}
1750- state : after
1751- type : password
1752- control : requisite
1753- module_path : pam_cracklib.so
1743+ - name : " MEDIUM | V-38658 | The system must prohibit the reuse of passwords within five iterations."
1744+ block :
1745+ - name : " MEDIUM | V-38658 | PATCH | The system must prohibit the reuse of passwords within five iterations."
1746+ pamd :
1747+ name : " {{ item }}"
1748+ new_type : password
1749+ new_control : requisite
1750+ new_module_path : pam_pwhistory.so
1751+ module_arguments : use_authtok remember={{ rhel6stig_pass_reuse }}
1752+ state : after
1753+ type : password
1754+ control : requisite
1755+ module_path : pam_cracklib.so
1756+ with_items :
1757+ - system-auth
1758+ - password-auth
1759+
1760+ - name : " MEDIUM | V-38658 | PATCH | The system must prohibit the reuse of passwords within five iterations."
1761+ pamd :
1762+ name : " {{ item }}"
1763+ type : password
1764+ control : requisite
1765+ module_path : pam_pwhistory.so
1766+ module_arguments : remember={{ rhel6stig_pass_reuse }}
1767+ state : args_present
1768+ with_items :
1769+ - system-auth
1770+ - password-auth
17541771 tags :
17551772 - cat2
17561773 - medium
18441861 - file_perms
18451862 - rpm
18461863
1847- - block :
1848- - name : MEDIUM | V-38666 | PATCH | The system must use and update a virus scan program"
1849- yum :
1850- name : " {{ rhel6stig_av_package.package }}"
1851- state : present
1852-
1853- - name : MEDIUM | V-38666 | PATCH | The system must use and update a virus scan program"
1854- service :
1855- name : " {{ rhel6stig_av_package.service }}"
1856- state : started
1857- enabled : yes
1858- when :
1859- - rhel6stig_antivirus_required
1860- tags :
1861- - cat2
1862- - medium
1863- - patch
1864- - V-38666
1865- - antivirus
1866-
18671864# Not automated
18681865# - name: "MEDIUM | V-38667 | Inspect the system to determine if intrusion detection software has been installed."
18691866
You can’t perform that action at this time.
0 commit comments