password authentication with external passwd file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello all.

I am currently running postgresql-7.2, and I have my pg_hba.conf configured to use password authentication with external passwd files. eg:

	pg_hba.conf:
	local db1 all password db1.pwd
	host db1 all 127.0.0.1 255.255.255.255 password db2.pwd
	local db2 all password db1.pwd
	host db2 all 127.0.0.1 255.255.255.255 password db2.pwd

	db1.pwd:
	postgres:bwoMq9dRTqHlI
	user1:WaC3rSwu.1V2A

	db1.pwd:
	postgres:MT0RIEZ2rN.IY
	user1:1U6pT5d0T/fcY


I would like to upgrade to postgresql-8.0, but as far as I can tell, this feature is not present in 8.0 - indeed, it looks like 7.2 may be the last version with that feature.

I would like to know first, if I'm mistaken, or if external passwd files are now specified in some other way, or must be enabled at compile time or something like that; ie, am I doing something wrong?


If this feature is indeed no longer supported, is there some other way that I can allow the same username to have different passwords on different databases?

The background is that this is a hosting environment, and each customer is given one database to use however they want; different human users should be able to create database users with the same username without accidentally granting each other rights on their own databases. We currently do this by maintaining a password file per user/database, and letting users put whatever usernames and passwords they want into the password file for their database.


 -Jason
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQFDECTdswXMWWtptckRAhcgAKCC6X3r+tTyhR4beK8JHqEc1KUAzACffPxG
CZWF0SSSWyRFV71D4DcOeTY=
=SMsw
-----END PGP SIGNATURE-----


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux