common: fix regex

This commit is contained in:
Markus 2018-07-17 13:26:45 +02:00
parent b456e13542
commit bfe0d994d0

View File

@ -75,5 +75,5 @@
- name: Prevent normal users from running su - name: Prevent normal users from running su
lineinfile: lineinfile:
path: /etc/pam.d/su path: /etc/pam.d/su
regexp: '^# auth required pam_wheel.so$' regexp: '^.*auth\s+required\s+pam_wheel.so$'
line: 'auth required pam_wheel.so' line: 'auth required pam_wheel.so'