You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msachikanta
changed the title
Issue with Task 4.4.3.4.1 | PATCH | Ensure pam_unix does not include nullok
Issue with Task 4.4.3.4.1 Ensure pam_unix does not include nullok
May 15, 2024
Describe the Issue
Noticed regex is not updating the values properly in
/etc/pam.d/password-auth
and/etc/pam.d/system-auth
.ansible.builtin.replace
section of the Task 4.4.3.4.1 seems not to be working as expected.I could see its updating the pam files as below:
word
sufficient
is getting replaced withnullok
, which should not be happening.Expected Behavior
After updating the pam files, they should have following line:
Actual Behavior
After updating the pam files, the line is appearing as below:
Environment (please complete the following information):
Additional Notes
Updating the regex can fix the issue.
Possible Solution
Here is my proposed solution. I have tested the fix, and it is working fine for me.
The text was updated successfully, but these errors were encountered: