common: fix regex

This commit is contained in:
Markus 2018-07-17 13:26:45 +02:00
parent b456e13542
commit bfe0d994d0
1 changed files with 1 additions and 1 deletions

View File

@ -75,5 +75,5 @@
- name: Prevent normal users from running su
lineinfile:
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'