How To Install sssd-tools on CentOS 7

In this tutorial we learn how to install sssd-tools on CentOS 7. sssd-tools is Userspace tools for use with the SSSD

Introduction

In this tutorial we learn how to install sssd-tools on CentOS 7.

What is sssd-tools

Provides userspace tools for manipulating users, groups, and nested groups in SSSD when using id_provider = local in /etc/sssd/sssd.conf. Also provides several other administrative tools * sss_debuglevel to change the debug level on the fly * sss_seed which pre-creates a user entry for use in kickstarts * sss_obfuscate for generating an obfuscated LDAP password * sssctl – an sssd status and control utility

We can use yum or dnf to install sssd-tools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install sssd-tools.

Install sssd-tools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install sssd-tools using yum by running the following command:

sudo yum -y install sssd-tools

Install sssd-tools on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install sssd-tools using dnf by running the following command:

sudo dnf -y install sssd-tools

How To Uninstall sssd-tools on CentOS 7

To uninstall only the sssd-tools package we can use the following command:

sudo dnf remove sssd-tools

References

Summary

In this tutorial we learn how to install sssd-tools on CentOS 7 using yum and dnf.