[postgis-users] Re: How to disable password in postgreSQL (pardon the stupid question)

Reid Priedhorsky reid at umn.edu
Mon Jan 12 09:10:10 PST 2009


On 01/12/2009 07:47 AM, Nicolas Ribot wrote:
> 
> Edit the pg_hba.conf file and change the METHOD column to the trust
> mode, something like:
> local   all         all                               trust
> (you may configure other parts to set databases and users that are
> allowed to connect to the DB with trust mode).

That will let anyone who can connect to the database become the Postgres 
users in question (in this case, any user) -- a rather gaping security 
hole except in narrow circumstances.

I wonder if the OP is looking for the "ident" method?

Reid



More information about the postgis-users mailing list