libpam-pgsql - PAM module to authenticate using a PostgreSQL database

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Main amd64
Package name libpam-pgsql
Package version
Package release 4
Package architecture amd64
Package type deb
Installed size 79 B
Download size 26.41 KB
Official Mirror
This module lets you authenticate users against a table in a PostgreSQL
database. It also supports checking account information and updating
authentication tokens (ie. passwords).


Package Version Architecture Repository
libpam-pgsql_0.7.3.1-4_i386.deb i386 Debian Main
libpam-pgsql - - -


Name Value
libc6 >= 2.4
libgcrypt11 >= 1.4.5
libpam0g >=
libpq5 -


Type URL
Binary Package libpam-pgsql_0.7.3.1-4_amd64.deb
Source Package pam-pgsql

Install Howto

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




2013-01-19 - Jan Dittberner <>
pam-pgsql ( unstable; urgency=low
* Fix "CVE-2013-0191: NULL password query result permits login with
any password" by adding patch
debian/patches/fix-698241-null-passwort-result-permits-login.patch from
upstream bug tracker (Closes: #698241)
2012-04-06 - Jan Dittberner <>
pam-pgsql ( unstable; urgency=low
* apply hardened build flags (Closes: #656003), thanks for the patch
to Moritz Muehlenhoff
* bump Standards-Version to 3.9.3 (no changes)
2011-04-09 - Jan Dittberner <>
pam-pgsql ( unstable; urgency=low
* Stop shipping libtool la files in binary packages. (Closes: #621850),
thanks to Andreas Metzler
2011-03-27 - Jan Dittberner <>
pam-pgsql ( unstable; urgency=low
* New upstream version
* remove patches debian/patches/md5_64bit_584683.patch,
debian/patches/md5postgres_594721.patch, debian/patches/ipaddr-
crash_603436.patch and debian/patches/better_logging.patch which are
integrated in upstream release
* debian/control: add libgcrypt-dev to and remove libmhash-dev from
2011-02-23 - Jan Dittberner <>
pam-pgsql (0.7.1-5) unstable; urgency=low
* add debian/patches/better_logging.patch to improve logging
* add debian/patches/ipaddr-crash_603436.patch: fix crash on long
addresses that trigger signedness in "%d", thanks to Kees Cook for the
patch (LP: #722386, Closes: 603436).
2010-09-11 - Jan Dittberner <>
pam-pgsql (0.7.1-4) unstable; urgency=low
* update DEP-3 information in
debian/patches/md5postgres_594721.patch, and fix a typo
* add debian/NEWS to notify about the change of default pw_type
2010-09-10 - Jan Dittberner <>
pam-pgsql (0.7.1-3) unstable; urgency=low
* add debian/patches/md5postgres_594721.patch to add support for
PostgreSQLs own md5 passwords (Closes: #594721)
* add debian/postinst to set pw_type = clear on upgrades from version
< 0.7.1 where no pw_type has been specified. The default password
type has been changed from clear to sha1 (Closes: #596375)
2010-08-15 - Jan Dittberner <>
pam-pgsql (0.7.1-2) unstable; urgency=low
* add debian/patches/md5_64bit_584683.patch to fix MD5 issue on non-
Alpha 64bit systems (Closes: #584683)
* debian/control:
- bump Standards-Version to 3.9.1 (no changes needed)
- change debhelper dependency to 7.0.50~ to simplify backports
* remove unused debian/patches/ftbfs_544586.patch
2010-04-02 - Jan Dittberner <>
pam-pgsql (0.7.1-1) unstable; urgency=low
* New upstream version
* disable debian/patches/ftbfs_544686.patch, upstream restructured and it does not apply anymore
* debian/rules:
- update configure call and make install call to match new upstream build
- remove sample.sql and CHANGELOG from installed files to let
dh_installchangelogs and dh_installexamples do their jobs
* debian/control: update Standards-Version to 3.8.4 (no changes needed)
2009-12-06 - Jan Dittberner <>
pam-pgsql (0.7-4) unstable; urgency=low
* switch to dh7
- debian/compat: debhelper compatibility level 5 -> 7
- debian/control: update debhelper dependency to 7.0.50,
add ${misc:Depends} to Depends
- debian/rules: use dh7 features, override dh_makeshlibs to not insert
useless ldconfig calls
* switch to source format 3.0 (quilt)
- debian/control: remove explicit quilt dependency
- debian/rules: remove quilt patching and unpatching
- create debian/source/format with "3.0 (quilt)"
- remove debian/README.source
* add debian/docs and debian/examples for dh_installdocs
- add COPYRIGHT to docs
- add samples.sql to examples
* debian/copyright: link to GPL-2 instead of GPL symlink

See Also

Package Description
libpam-pkcs11_0.6.8-1_amd64.deb Fully featured PAM module for using for using PKCS#11 smart cards
libpam-poldi_0.4.1-2.1_amd64.deb PAM module allowing authentication using a OpenPGP smartcard
libpam-pwdfile_0.99-5_amd64.deb PAM module allowing authentication via an /etc/passwd-like file
libpam-python-doc_1.0.2-1_all.deb Documentation for the bindings provided by libpam-python
libpam-python_1.0.2-1_amd64.deb Enables PAM modules to be written in Python
libpam-radius-auth_1.3.16-4.4_amd64.deb The PAM RADIUS authentication module
libpam-runtime_1.1.3-7.1_all.deb Runtime support for the PAM library
libpam-script_1.1.5-1_amd64.deb PAM module which allows executing a script
libpam-shield_0.9.2-3.3_amd64.deb locks out remote attackers trying password guessing
libpam-shishi_1.0.1-2_amd64.deb PAM module for Shishi Kerberos v5
libpam-slurm_2.3.4-2+b1_amd64.deb PAM module to authenticate using the SLURM resource manager
libpam-smbpass_3.6.6-6+deb7u7_amd64.deb pluggable authentication module for Samba
libpam-ssh_1.92-15_amd64.deb Authenticate using SSH keys
libpam-sss_1.8.4-2_amd64.deb Pam module for the System Security Services Daemon
libpam-systemd_44-11+deb7u4_amd64.deb system and service manager - PAM module