How To Install nss-pam-ldapd on CentOS 8
Introduction
In this tutorial we learn how to install nss-pam-ldapd on CentOS 8.
What is nss-pam-ldapd
The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name service information (users, groups, etc.) on behalf of a lightweight nsswitch module. The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name service information (users, groups, etc.) on behalf of a lightweight nsswitch module.
We can use yum or dnf to install nss-pam-ldapd on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install nss-pam-ldapd.
Install nss-pam-ldapd on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install nss-pam-ldapd using yum by running the following command:
sudo yum -y install nss-pam-ldapd
Install nss-pam-ldapd on CentOS 8 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 nss-pam-ldapd using dnf by running the following command:
sudo dnf -y install nss-pam-ldapd
How To Uninstall nss-pam-ldapd on CentOS 8
To uninstall only the nss-pam-ldapd package we can use the following command:
sudo dnf remove nss-pam-ldapd
References
Summary
In this tutorial we learn how to install nss-pam-ldapd on CentOS 8 using yum and dnf.