How To Install libnss-sss on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnss-sss
on Ubuntu 20.04.
What is libnss-sss
libnss-sss is:
Provides a set of daemons to manage access to remote directories and authentication mechanisms. It provides an NSS and PAM interface toward the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA.
This package provide the nss library to connect to the sssd daemon.
Package: libnss-sss Architecture: amd64 Version: 2.2.3-3ubuntu0.1 Multi-Arch: same Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 81 Depends: libc6 (>= 2.28) Recommends: sssd Filename: pool/main/s/sssd/libnss-sss_2.2.3-3ubuntu0.1_amd64.deb Size: 19860 MD5sum: f753aaaed3d0e3afadcbbb6121c44956 SHA1: e822b877e7ce2bf895db1485d0d450462416556c SHA256: 96e44e1c1235bf1f4811d0371e4e91d35405c0c6ace6f485b3c066371e43f433 SHA512: bb41eb29b93bdf5d09136f330489263ea147036d31437b99c6aa738a69cbedc9c47dd050ce2c3ea0d458b4ce394d5f4f332c80f0c4ccf7f5f3787b54bae37f63 Homepage: https://github.com/SSSD/sssd Description-en: Nss library for the System Security Services Daemon Provides a set of daemons to manage access to remote directories and authentication mechanisms. It provides an NSS and PAM interface toward the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA.
This package provide the nss library to connect to the sssd daemon.
Package: libnss-sss Architecture: amd64 Version: 2.2.3-3 Multi-Arch: same Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 81 Depends: libc6 (>= 2.28) Recommends: sssd Filename: pool/main/s/sssd/libnss-sss_2.2.3-3_amd64.deb Size: 19816 MD5sum: b553cbed61657446471bb496e1692a57 SHA1: bc82150cd5f6e4598abd1808ff2656a0041620bf SHA256: 2a17c567f6b272d15e1784c960856343ff0df6e364596d5869465700321c619e Homepage: https://github.com/SSSD/sssd Description-en: Nss library for the System Security Services Daemon Provides a set of daemons to manage access to remote directories and authentication mechanisms. It provides an NSS and PAM interface toward the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA.
This package provide the nss library to connect to the sssd daemon.
There are three methods to install libnss-sss
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libnss-sss Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libnss-sss
using apt-get
by running the following command:
sudo apt-get -y install libnss-sss
Install libnss-sss Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnss-sss
using apt
by running the following command:
sudo apt -y install libnss-sss
Install libnss-sss Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libnss-sss
using aptitude
by running the following command:
sudo aptitude -y install libnss-sss
How To Uninstall libnss-sss on Ubuntu 20.04
To uninstall only the libnss-sss
package we can use the following command:
sudo apt-get remove libnss-sss
Uninstall libnss-sss And Its Dependencies
To uninstall libnss-sss
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libnss-sss
Remove libnss-sss Configurations and Data
To remove libnss-sss
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnss-sss
Remove libnss-sss configuration, data, and all of its dependencies
We can use the following command to remove libnss-sss
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnss-sss
References
Summary
In this tutorial we learn how to install libnss-sss
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.