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

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).



  • libnss-pgsql1


  • libnss-pgsql1


  • libnss-pgsql1


    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


    • /lib/
    • /lib/
    • /usr/share/doc-base/libnss-pgsql2
    • /usr/share/doc/libnss-pgsql2/AUTHORS
    • /usr/share/doc/libnss-pgsql2/README
    • /usr/share/doc/libnss-pgsql2/caution.png
    • /usr/share/doc/libnss-pgsql2/changelog.Debian.gz
    • /usr/share/doc/libnss-pgsql2/changelog.gz
    • /usr/share/doc/libnss-pgsql2/copyright
    • /usr/share/doc/libnss-pgsql2/nss-pgsql.html
    • /usr/share/doc/libnss-pgsql2/examples/dbschema.sql
    • /usr/share/doc/libnss-pgsql2/examples/nss-pgsql.conf
    • /usr/share/doc/libnss-pgsql2/examples/nsswitch.conf


    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 information * optimize override_dh_auto_clean and override_dh_install in debian/rules * 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 /usr/share/doc/quilt/examples/ - 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 doc-base * 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, #472241) * 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)