Skip to content

Commit

Permalink
Add mode to su-binary task. Fix #38
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gumprich committed Aug 13, 2015
1 parent 914edb2 commit a1a439d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ansible-os-hardening/tasks/minimize_access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
file: dest='/etc/shadow' owner=root group=root mode=0600

- name: change su-binary to only be accessible to user and group root
file: dest='/bin/su' owner=root group=root mode
file: dest='/bin/su' owner=root group=root mode=0750
when: security_users_allow|default(None) != None

0 comments on commit a1a439d

Please sign in to comment.