How To Install nss-pam-ldapd on Rocky Linux 8
Introduction
In this tutorial we learn how to install nss-pam-ldapd
on Rocky Linux 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.
We can use yum
or dnf
to install nss-pam-ldapd
on Rocky Linux 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 Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nss-pam-ldapd
using dnf
by running the following command:
sudo dnf -y install nss-pam-ldapd
Install nss-pam-ldapd on Rocky Linux 8 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
using yum
by running the following command:
sudo yum -y install nss-pam-ldapd
How To Uninstall nss-pam-ldapd on Rocky Linux 8
To uninstall only the nss-pam-ldapd
package we can use the following command:
sudo dnf remove nss-pam-ldapd
nss-pam-ldapd Package Contents on Rocky Linux 8
/etc/nslcd.conf
/lib/libnss_ldap.so
/lib/libnss_ldap.so.2
/lib/security/pam_ldap.so
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/9f0bca02fe4441d6b69a3f2e0aa9e2bce8e014
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/42831372119e85fe5ae6ff48a23a911cc2babf
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/6e6a80ef1d7c9ac5559a3811124f616f4fbc57
/usr/lib/systemd/system/nslcd.service
/usr/lib/tmpfiles.d/nss-pam-ldapd.conf
/usr/sbin/nslcd
/usr/share/doc/nss-pam-ldapd
/usr/share/doc/nss-pam-ldapd/AUTHORS
/usr/share/doc/nss-pam-ldapd/COPYING
/usr/share/doc/nss-pam-ldapd/ChangeLog
/usr/share/doc/nss-pam-ldapd/HACKING
/usr/share/doc/nss-pam-ldapd/NEWS
/usr/share/doc/nss-pam-ldapd/README
/usr/share/doc/nss-pam-ldapd/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
/etc/nslcd.conf
/lib64/libnss_ldap.so
/lib64/libnss_ldap.so.2
/lib64/security/pam_ldap.so
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/81336682a7117835eedbe444193009609f11bb
/usr/lib/.build-id/af
/usr/lib/.build-id/af/a9d3f46fc338a6fd834f136a657f3489451cae
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/59e03e5d7d6384206ef522d007b65a56e21387
/usr/lib/systemd/system/nslcd.service
/usr/lib/tmpfiles.d/nss-pam-ldapd.conf
/usr/sbin/nslcd
/usr/share/doc/nss-pam-ldapd
/usr/share/doc/nss-pam-ldapd/AUTHORS
/usr/share/doc/nss-pam-ldapd/COPYING
/usr/share/doc/nss-pam-ldapd/ChangeLog
/usr/share/doc/nss-pam-ldapd/HACKING
/usr/share/doc/nss-pam-ldapd/NEWS
/usr/share/doc/nss-pam-ldapd/README
/usr/share/doc/nss-pam-ldapd/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
on Rocky Linux 8 using yum and dnf.