From c1780c715287e459ace356086128135f8ca8781e Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Tue, 21 Mar 2017 16:39:15 +0000 Subject: [PATCH] Change PASS_WARN_DAYS --> PASS_WARN_AGE The option PASS_WARN_DAYS does not exist and should instead be "PASS_WARN_AGE". Change-Id: I5a7f26e42c3f5f6d6c3ae19ef585471da39b7478 Closes-Bug: #1665377 --- tasks/rhel6stig/auth.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/rhel6stig/auth.yml b/tasks/rhel6stig/auth.yml index 5715b14a..9511029d 100644 --- a/tasks/rhel6stig/auth.yml +++ b/tasks/rhel6stig/auth.yml @@ -49,8 +49,8 @@ - name: V-38480 - Warn users prior to password expiration lineinfile: dest: /etc/login.defs - regexp: "^(#)?PASS_WARN_DAYS" - line: "PASS_WARN_DAYS {{ security_password_warn_age }}" + regexp: "^(#)?PASS_WARN_AGE" + line: "PASS_WARN_AGE {{ security_password_warn_age }}" when: security_password_warn_age is defined tags: - auth