Chapter 3. Enabling the local files provider for SSSD

If you need to retrieve user information from local files, such as user data from /etc/shadow and group information from /etc/groups, use the following procedure to configure SSSD and the name services switch.

Prerequisites

  • You need root permissions to edit the /etc/sssd/sssd.conf configuration file and run authselect commands.

Procedure

  1. Configure SSSD. Choose one of the following options:

    1. Enable the files provider by setting the option enable_files_domain=true in the sssd section of the sssd.conf configuration file.

      [sssd]
      enable_files_domain = true
    2. Explicitly configure a new local domain in the sssd.conf configuration file and specify the option id_provider=files.

      [domain/local]
      id_provider=files
      ...
  2. Configure the name services switch.

    # authselect enable-feature with-files-provider