common: fix regex
This commit is contained in:
parent
b456e13542
commit
bfe0d994d0
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user