Skip to content

Commit

Permalink
Merge pull request dev-sec#211 from joshuatalb/chmod-fixes
Browse files Browse the repository at this point in the history
Update modprobe to 0644
  • Loading branch information
rndmh3ro authored Feb 2, 2019
2 parents 5573df1 + 9cc343d commit 9016dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/modprobe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
dest: '/etc/modprobe.d/dev-sec.conf'
owner: 'root'
group: 'root'
mode: '0640'
mode: '0644'
4 changes: 1 addition & 3 deletions tests/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
os_auth_allow_homeless: true
os_security_suid_sgid_blacklist: ['/bin/umount']
os_security_suid_sgid_whitelist: ['/usr/bin/rlogin']
os_filesystem_whitelist: ['vfat']
os_filesystem_whitelist: []
sysctl_config:
net.ipv4.ip_forward: 0
net.ipv6.conf.all.forwarding: 0
Expand Down Expand Up @@ -66,7 +66,6 @@
fs.suid_dumpable: 0
kernel.randomize_va_space: 2


- name: wrapper playbook for kitchen testing "ansible-os-hardening"
hosts: localhost
vars:
Expand All @@ -78,4 +77,3 @@
when: ansible_os_family == 'Debian'
roles:
- ansible-os-hardening

0 comments on commit 9016dbf

Please sign in to comment.