Re: converting to MD5

From: John R Pierce <pierce(at)hogranch(dot)com>
To: owenn panng <trilogy(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: converting to MD5
Date: 2004-10-19 18:22:33
Message-ID: 41755B69.1030408@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

owenn panng wrote:
> Hi there, I was wondering what is needed to done on both the postgres
> & client side to connect via MD5.

with 7.4.x and 8, at least, you don't need to do anything special, the client
libraries take care of it transparently. the pg_shadow file is created
automatically when you use
ALTER USER username WITH ENCRYPTED PASSWORD 'password';

as a SQL statement. (actually, it appears it uses $PGDATA/global/pg_pwd for
this if you don't specify anything else).

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-10-19 21:36:39 Re: Avoiding explicit addDataType calls for PostGIS
Previous Message Kris Jurka 2004-10-19 18:10:06 Re: converting to MD5