libnss-pgsql2 - NSS module for using PostgreSQL as a naming service

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libnss-pgsql2
Package version 1.4.0debian
Package release 8
Package architecture amd64
Package type deb
Installed size 109 B
Download size 27.35 KB
Official Mirror
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).


Package Version Architecture Repository
libnss-pgsql2_1.4.0debian-8_i386.deb 1.4.0debian i386 Debian Main
libnss-pgsql2 - - -


Name Value
libc6 >= 2.14
libpq5 -


Name Value
libnss-pgsql1 -


Name Value
libnss-pgsql1 -


Name Value
libnss-pgsql1 -


Type URL
Binary Package libnss-pgsql2_1.4.0debian-8_amd64.deb
Source Package libnss-pgsql

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libnss-pgsql2 deb package:
    # sudo apt-get install libnss-pgsql2




2014-10-10 - Jan Dittberner <>
libnss-pgsql (1.4.0debian-8) unstable; urgency=medium
* debian/control: set myself as Maintainer because the team list does
not exist anymore (Closes: #764680)
* include full GFDL-1.1 text in debian/copyright
2014-10-08 - Jan Dittberner <>
libnss-pgsql (1.4.0debian-7) unstable; urgency=medium
* change Homepage to
* switch Vcs-* fields to new collab-maint URLs
2014-10-08 - Jan Dittberner <>
libnss-pgsql (1.4.0debian-6) unstable; urgency=medium
* fix Vcs-* fields
* bump Standards-Version to 3.9.6 (no changes)
* use autotools-dev (Closes: #734032):
- add autotools-dev to Build-Depends in debian/control
- add --with autotools_dev to dh invocation in debian/rules
* remove files generated by autotools
* move upstream modifications into debian/patch/upstream-
modifications.patch (Closes: #643194)
* add autoconf, automake and libtool to Build-Depends, use autoreconf in
dh_override_configure target
* use wrap-and-sort on debian/control
* switch to debhelper (>= 9) in debian/control and bump debian/compat level
to 9 to add hardening flags automatically
* debian/control: fix spelling error in description (Closes: #686957)
* change debian/copyright to machine readable format, update copyright
* optimize override_dh_auto_clean and override_dh_install in
* remove Martin Krafft from Uploaders (Closes: #719088)
2011-02-06 - Jan Dittberner <>
libnss-pgsql (1.4.0debian-5) unstable; urgency=low
* Add Vcs-Git and Vcs-Browser fields to debian/control
2010-09-27 - Jan Dittberner <>
libnss-pgsql (1.4.0debian-4) experimental; urgency=low
* Add myself to uploaders.
* switch from dpatch to quilt using
- rename debian/patches/*.dpatch to debian/patches/*.patch
- add debian/patches/series, remove debian/patches/00list
- debian/control: remove dpatch from Build-Depends
* switch to source format 3.0 (quilt)
- add debian/source/format
- debian/rules: remove patching
* switch to debhelper 7 and simplified dh rules
- set debian/compat to 7
- set debhelper Build-Depends in debian/control to (>= 7.0.50~)
- add ${misc:Depends} to Depends in debian/control
- use simplified rules in debian/rules
* add debian/libnss-pgsql2.symbols
* add debian/libnss-pgsql2.doc-base to register documentation with
* add Homepage field to debian/control
* improve description of libnss-pgsql2 in debian/control
* bump Standards-Version in debian/control to 3.9.1
* add a dummy debian/watch to make lintian happy
* Fix "NSS continously reports 'Could not connect to the database'
because of file permission issues" with patch
debian/patches/08_supress_inappropriate_warnings.patch (Closes: #525953)
2008-09-28 - Stephen Gran <>
libnss-pgsql (1.4.0debian-3) unstable; urgency=low
* Remove Joerg from uploaders.  Thanks for your work! (closes: #473330,
* Use shadowconnectionstring in shadow example (closes: #494196)
* Reference the tables by the names we have just used (closes: #499331)
2007-11-13 - Stephen Gran <>
libnss-pgsql (1.4.0debian-2) unstable; urgency=low
* Make default schema useable (closes: #355329, #364462, #364889)
* Change short description to be more uniform with other NSS library
descriptions (closes: #314911)

See Also

Package Description
libnss-rainbow2_0.8.7-1_amd64.deb nss library for rainbow
libnss-securepass_0~20141025.0git2299135-1_amd64.deb NSS (Name Service Switch) module for Securepass
libnss-sss_1.11.7-3_amd64.deb Nss library for the System Security Services Daemon
libnss-winbind_4.2.14+dfsg-0+deb8u9_amd64.deb Samba nameservice integration plugins
libnss3-1d_3.26-1+debu8u3_amd64.deb Network Security Service libraries - transitional package
libnss3-dev_3.26-1+debu8u3_amd64.deb Development files for the Network Security Service libraries
libnss3-tools_3.26-1+debu8u3_amd64.deb Network Security Service tools
libnss3_3.26-1+debu8u3_amd64.deb Network Security Service libraries
libntdb-dev_1.0-5_amd64.deb New Trivial Database - development files
libntdb1_1.0-5_amd64.deb New Trivial Database - shared library
libntl-dev_6.2.1-1_amd64.deb Number Theory Library, development files
libntl5_6.2.1-1_amd64.deb Number Theory Library, shared library
libntlm0-dev_1.4-3_amd64.deb Development files for the NTLM authentication library
libntlm0_1.4-3_amd64.deb NTLM authentication library
libntrack-dev_016-1.3_amd64.deb Development package for ntrack