Re: forcing postgresql 7.3 to use crypt passwords

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenny Drobnack <kenny(at)jumpline(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: forcing postgresql 7.3 to use crypt passwords
Date: 2003-12-31 17:20:06
Message-ID: 11189.1072891206@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kenny Drobnack <kenny(at)jumpline(dot)com> writes:
> We currently have multiple databases running different versions of
> postgresql ranging from version 7.1 to 7.3. When we create users in 7.3
> databases, it encrypts their passwords with md5, which is not supported
> in 7.1. Is there some way to force postgresql 7.3 to use the old crypt
> encryption for passwords when creating users?

AFAIR the previous approach was not to encrypt passwords at all in
pg_shadow. You can still do that with ALTER USER ... UNENCRYPTED PASSWORD
(also there's a setting to make this the default behavior).

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenny Drobnack 2003-12-31 17:31:56 Re: forcing postgresql 7.3 to use crypt passwords
Previous Message Tom Lane 2003-12-31 16:56:07 Re: dump contents & missing functions