How to Install and Uninstall libnss-pgsql2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 24,2024

1. Install "libnss-pgsql2" package

Please follow the guidance below to install libnss-pgsql2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libnss-pgsql2

2. Uninstall "libnss-pgsql2" package

Please follow the steps below to uninstall libnss-pgsql2 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libnss-pgsql2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libnss-pgsql2
Priority: extra
Section: universe/admin
Installed-Size: 108
Maintainer: Ubuntu Developers
Original-Maintainer: Jan Dittberner
Architecture: amd64
Source: libnss-pgsql
Version: 1.4.0debian-8
Replaces: libnss-pgsql1
Provides: libnss-pgsql1
Depends: libc6 (>= 2.14), libpq5
Suggests: libpam-pgsql, nscd
Conflicts: libnss-pgsql1
Filename: pool/universe/libn/libnss-pgsql/libnss-pgsql2_1.4.0debian-8_amd64.deb
Size: 24688
MD5sum: b73efae31795f508ecaab56c1af7c5d8
SHA1: cc13bc943b35888ea084aabafaaa0580f06ebfa3
SHA256: deaddd3ebf95452f6e707a7c35acc9e0f29aec8cd844c1b986461c88dd6a4648
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
Homepage: http://pgfoundry.org/projects/sysauth/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu