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

Last updated: May 20,2024

1. Install "libnss-pgsql2" package

This guide covers the steps necessary to install libnss-pgsql2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libnss-pgsql2

2. Uninstall "libnss-pgsql2" package

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

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

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

Package: libnss-pgsql2
Architecture: amd64
Version: 1.4.0debian-8
Priority: extra
Section: universe/admin
Source: libnss-pgsql
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jan Dittberner
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Provides: libnss-pgsql1
Depends: libc6 (>= 2.14), libpq5
Suggests: libpam-pgsql, nscd
Conflicts: libnss-pgsql1
Replaces: libnss-pgsql1
Filename: pool/universe/libn/libnss-pgsql/libnss-pgsql2_1.4.0debian-8_amd64.deb
Size: 24688
MD5sum: b73efae31795f508ecaab56c1af7c5d8
SHA1: cc13bc943b35888ea084aabafaaa0580f06ebfa3
SHA256: deaddd3ebf95452f6e707a7c35acc9e0f29aec8cd844c1b986461c88dd6a4648
SHA512: 8fa07fbb54556e4f7138747d16745b343e0b503feeb846b9f7f22dc8bfb5d1414ab11ec9fd0ba407f4acd1f06889ddcc9b11db3acf8621c6bcbc30f4ec586b65
Homepage: http://pgfoundry.org/projects/sysauth/
Description-en: NSS module for using PostgreSQL as a naming service
This module works as a replacement for the flat file databases /etc/passwd,
/etc/group etc. It is a plugin to glibc's name service switch.
.
The module uses tables in a PostgreSQL database to store user, group, and
shadow information. The module can be configured to use custom queries to
retrieve it's information from a database. The module allows one to separate
the configuration for shadow information from group and user information to
restrict access to shadow information to privileged users (i.e. root or the
shadow group).
Description-md5: 2be1d717de98e4794c5ffabd2a116752