pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: owenn panng <trilogy@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: converting to MD5
Date: Tue, 19 Oct 2004 11:22:33 -0700
Message-ID: <41755B69.1030408@hogranch.com> (raw)
In-Reply-To: <c1158fd10410191100261728eb@mail.gmail.com>
References: <c1158fd10410191100261728eb@mail.gmail.com>

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




view thread (3+ messages)

Message-ID: <41755B69.1030408@hogranch.com>
Permalink:  ../41755B69.1030408@hogranch.com/
Also on:    postgresql.org/message-id/41755B69.1030408@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pierce@hogranch.com, trilogy@gmail.com
  Subject: Re: converting to MD5
  In-Reply-To: <41755B69.1030408@hogranch.com>
  References: <c1158fd10410191100261728eb@mail.gmail.com> <41755B69.1030408@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox