Skip to content

Commit a1a439d

Browse files
author
Sebastian Gumprich
committed
Add mode to su-binary task. Fix #38
1 parent 914edb2 commit a1a439d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ansible-os-hardening/tasks/minimize_access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
file: dest='/etc/shadow' owner=root group=root mode=0600
1515

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

0 commit comments

Comments
 (0)