Skip to content

Enable the SSSD Service

An XCCDF Rule

Description

The SSSD service should be enabled. The sssd service can be enabled with the following command:

$ sudo systemctl enable sssd.service

warning alert: Warning

The service requires a valid sssd configuration. If the configuration is not present, the service will fail to start and consequently this rule will will be reported as failing. The configuration shipped in your distribution package might not be sufficient. Manual modification of configuration files might be required.
ID
xccdf_org.ssgproject.content_rule_service_sssd_enabled
Severity
Medium
References
Updated



Remediation - Puppet

include enable_sssd

class enable_sssd {
  service {'sssd':
    enable => true,
    ensure => 'running',

Remediation - Ansible

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - CCE-82440-9
  - NIST-800-53-CM-6(a)

Remediation - script:kickstart


service enable sssd

Remediation - OS Build Blueprint


[customizations.services]
enabled = ["sssd"]

Remediation - Shell Script

# Remediation is applicable only in certain platforms
if rpm --quiet -q sssd-common && { rpm --quiet -q kernel; }; then

SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'sssd.service'
"$SYSTEMCTL_EXEC" start 'sssd.service'