SV-269409r1050292_rule
V-269409
SRG-OS-000383-GPOS-00166
ALMA-09-038630
CAT II
10
Configure the SSSD to prohibit the use of cached authentications after one day.
Add/modify the following line in "/etc/sssd/sssd.conf" (or a conf file in /etc/sssd/conf.d/) just below the line [pam]:
offline_credentials_expiration = 1
Note: If smart card authentication is not being used on the system, this requirement is Not Applicable.
Verify that the System Security Services Daemon (SSSD) prohibits the use of cached authentications after one day.
Check that SSSD allows cached authentications with the following command:
$ grep cache_credentials /etc/sssd/sssd.conf /etc/sssd/conf.d/*
/etc/sssd/conf.d/certificate_verification.conf:cache_credentials = true
If "cache_credentials" is set to "false" or missing from the configuration, this is not a finding and no further checks are required.
If "cache_credentials" is set to "true", check that SSSD prohibits the use of cached authentications after one day with the following command:
$ grep offline_credentials_expiration /etc/sssd/sssd.conf /etc/sssd/conf.d/
/etc/sssd/conf.d/certificate_verification.conf:offline_credentials_expiration = 1
If "offline_credentials_expiration" is not set to a value of "1", this is a finding.
V-269409
False
ALMA-09-038630
Note: If smart card authentication is not being used on the system, this requirement is Not Applicable.
Verify that the System Security Services Daemon (SSSD) prohibits the use of cached authentications after one day.
Check that SSSD allows cached authentications with the following command:
$ grep cache_credentials /etc/sssd/sssd.conf /etc/sssd/conf.d/*
/etc/sssd/conf.d/certificate_verification.conf:cache_credentials = true
If "cache_credentials" is set to "false" or missing from the configuration, this is not a finding and no further checks are required.
If "cache_credentials" is set to "true", check that SSSD prohibits the use of cached authentications after one day with the following command:
$ grep offline_credentials_expiration /etc/sssd/sssd.conf /etc/sssd/conf.d/
/etc/sssd/conf.d/certificate_verification.conf:offline_credentials_expiration = 1
If "offline_credentials_expiration" is not set to a value of "1", this is a finding.
M
5664