Configure SSSD to run as user sssd
An XCCDF Rule
Description
SSSD processes should be configured to run as user sssd, not root.Rationale
To minimize privileges of SSSD processes, they are configured to run as non-root user.
- ID
- xccdf_org.ssgproject.content_rule_sssd_run_as_sssd_user
- Severity
- Medium
- References
- Updated
Remediation Templates
A Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q sssd-common; then
MAIN_CONF="/etc/sssd/conf.d/ospp.conf"
# sssd configuration files must be created with 600 permissions if they don't exist
# otherwise the sssd module fails to start