Fix path to useradd config
This patch fixes the path to /etc/default/useradd when locking inactive accounts. Closes-Bug: 1721377 Change-Id: I91643f0aa8af84eca11d65c7d7619240ac982134
This commit is contained in:
parent
04a6e107db
commit
84aec070d4
|
@ -344,7 +344,7 @@
|
|||
|
||||
- name: V-38692 - Lock inactive accounts
|
||||
lineinfile:
|
||||
dest: /etc/default_useradd
|
||||
dest: /etc/default/useradd
|
||||
regexp: "^(#)?INACTIVE"
|
||||
line: "INACTIVE {{ security_inactive_account_lock_days }}"
|
||||
when: security_inactive_account_lock_days is defined
|
||||
|
|
Loading…
Reference in New Issue