How to Install and Uninstall libnss-systemd Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 13,2024

1. Install "libnss-systemd" package

In this section, we are going to explain the necessary steps to install libnss-systemd on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libnss-systemd

2. Uninstall "libnss-systemd" package

Please follow the instructions below to uninstall libnss-systemd on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libnss-systemd $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnss-systemd package on Ubuntu 21.04 (Hirsute Hippo)

Package: libnss-systemd
Architecture: amd64
Version: 247.3-3ubuntu3
Multi-Arch: same
Priority: important
Section: admin
Source: systemd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian systemd Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 408
Depends: libc6 (>= 2.30), systemd (= 247.3-3ubuntu3)
Filename: pool/main/s/systemd/libnss-systemd_247.3-3ubuntu3_amd64.deb
Size: 96060
MD5sum: 33f2e69a87c7548b514f564a6babdc1d
SHA1: 3e5157ea7e5e3e887812fba5cc6db3433ca750b1
SHA256: 17145ce2f2d4bb640797b0f67dcbaf533b38b350872cc3080b8f0a3d5c467561
SHA512: c1dac36b6ad5069899d287000372d345a6dfbaf0b0961c3f682c7cce68dc457d270659b492b01226e0f24267817661ee81b4e8a7ee2bb0de7962a27c38ab149a
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Description-en: nss module providing dynamic user and group name resolution
nss-systemd is a plug-in module for the GNU Name Service Switch (NSS)
functionality of the GNU C Library (glibc), providing UNIX user and group name
resolution for dynamic users and groups allocated through the DynamicUser=
option in systemd unit files. See systemd.exec(5) for details on this
option.
.
Installing this package automatically adds the module to /etc/nsswitch.conf.
Description-md5: f5bdd7572f97a2162876ec5b0a11a2ca
Task: minimal