1.91 UBTU-24-400340

Information

The operating system must be configured such that Pluggable Authentication Module (PAM) prohibits the use of cached authentications after one day.

GROUP ID: V-270734
RULE ID: SV-270734r1066691

If cached authentication information is out-of-date, the validity of the authentication information may be questionable.

Solution

Configure PAM to prohibit the use of cached authentications after one day.

Add or modify the following line in the "/etc/sssd/sssd.conf" file, just below the line "[pam]":

offline_credentials_expiration = 1

Note: It is valid for this configuration to be in a file with a name that ends with ".conf" and does not begin with a "." in the "/etc/sssd/conf.d/" directory instead of the "/etc/sssd/sssd.conf" file.

See Also

https://workbench.cisecurity.org/benchmarks/22775