From 48d106a9a876b376b53cf28c896c6af74913f6f7 Mon Sep 17 00:00:00 2001 From: Gabriel Becker Date: Tue, 15 Sep 2020 17:10:02 +0200 Subject: [PATCH] Update text of rule account_disable_post_pw_expiration. Remove hardcoded recommended value and make it more generic to be more aligned with RHEL7 STIG. The current text is from RHEL6 STIG. --- .../rule.yml | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/linux_os/guide/system/accounts/accounts-restrictions/account_expiration/account_disable_post_pw_expiration/rule.yml b/linux_os/guide/system/accounts/accounts-restrictions/account_expiration/account_disable_post_pw_expiration/rule.yml index cfa59edd38..f92b6079c9 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/account_expiration/account_disable_post_pw_expiration/rule.yml +++ b/linux_os/guide/system/accounts/accounts-restrictions/account_expiration/account_disable_post_pw_expiration/rule.yml @@ -7,20 +7,15 @@ title: 'Set Account Expiration Following Inactivity' description: |- To specify the number of days after a password expires (which signifies inactivity) until an account is permanently disabled, add or correct - the following lines in /etc/default/useradd, substituting - NUM_DAYS appropriately: + the following line in /etc/default/useradd:
INACTIVE={{{ xccdf_value("var_account_disable_post_pw_expiration") }}}
- A value of 35 is recommended; however, this profile expects that the value is set to - {{{ xccdf_value("var_account_disable_post_pw_expiration") }}}. - If a password is currently on the - verge of expiration, then 35 days remain until the account is automatically - disabled. However, if the password will not expire for another 60 days, then 95 - days could elapse until the account would be automatically disabled. See the - useradd man page for more information. Determining the inactivity - timeout must be done with careful consideration of the length of a "normal" - period of inactivity for users in the particular environment. Setting - the timeout too low incurs support costs and also has the potential to impact - availability of the system to legitimate users. + If a password is currently on the verge of expiration, then + {{{ xccdf_value("var_account_disable_post_pw_expiration") }}} + day(s) remain(s) until the account is automatically + disabled. However, if the password will not expire for another 60 days, then 60 + days plus {{{ xccdf_value("var_account_disable_post_pw_expiration") }}} day(s) could + elapse until the account would be automatically disabled. See the + useradd man page for more information. rationale: |- Disabling inactive accounts ensures that accounts which may not