How To Install nss-pam-ldapd.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install nss-pam-ldapd.x86_64
on Amazon Linux 2.
What is nss-pam-ldapd.x86_64
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
to install nss-pam-ldapd.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install nss-pam-ldapd.x86_64.
Install nss-pam-ldapd.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install nss-pam-ldapd.x86_64
using yum
by running the following command:
sudo yum -y install nss-pam-ldapd.x86_64
How To Uninstall nss-pam-ldapd.x86_64 on Amazon Linux 2
To uninstall only the nss-pam-ldapd.x86_64
package we can use the following command:
sudo yum remove nss-pam-ldapd.x86_64
nss-pam-ldapd.x86_64 Package Contents on Amazon Linux 2
/etc/nslcd.conf
/usr/lib/systemd/system/nslcd.service
/usr/lib/tmpfiles.d/nss-pam-ldapd.conf
/usr/lib64/libnss_ldap.so
/usr/lib64/libnss_ldap.so.2
/usr/lib64/security/pam_ldap.so
/usr/sbin/nslcd
/usr/share/doc/nss-pam-ldapd-0.9.9
/usr/share/doc/nss-pam-ldapd-0.9.9/AUTHORS
/usr/share/doc/nss-pam-ldapd-0.9.9/COPYING
/usr/share/doc/nss-pam-ldapd-0.9.9/ChangeLog
/usr/share/doc/nss-pam-ldapd-0.9.9/HACKING
/usr/share/doc/nss-pam-ldapd-0.9.9/NEWS
/usr/share/doc/nss-pam-ldapd-0.9.9/README
/usr/share/doc/nss-pam-ldapd-0.9.9/TODO
/usr/share/man/man5/nslcd.conf.5.gz
/usr/share/man/man8/nslcd.8.gz
/usr/share/man/man8/pam_ldap.8.gz
/var/run/nslcd
References
Summary
In this tutorial we learn how to install nss-pam-ldapd.x86_64
on Amazon Linux 2 using yum.