pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedforcing postgresql 7.3 to use crypt passwords
4+ messages / 2 participants
[nested] [flat]
* forcing postgresql 7.3 to use crypt passwords
@ 2003-12-30 20:44 Kenny Drobnack <kenny@jumpline.com>
0 siblings, 0 replies; 4+ messages in thread
From: Kenny Drobnack @ 2003-12-30 20:44 UTC (permalink / raw)
To: pgsql-admin
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?
--
Kenny Drobnack
^ permalink raw reply [nested|flat] 4+ messages in thread
* forcing postgresql 7.3 to use crypt passwords
@ 2003-12-31 16:12 Kenny Drobnack <kenny@jumpline.com>
2003-12-31 17:20 ` Re: forcing postgresql 7.3 to use crypt passwords Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Kenny Drobnack @ 2003-12-31 16:12 UTC (permalink / raw)
To: pgsql-admin
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?
Apologies if this message shows up twice. It didn't seem to be going
thru when I sent it without subscribing.
--
Kenny Drobnack
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: forcing postgresql 7.3 to use crypt passwords
2003-12-31 16:12 forcing postgresql 7.3 to use crypt passwords Kenny Drobnack <kenny@jumpline.com>
@ 2003-12-31 17:20 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-12-31 17:31 ` Re: forcing postgresql 7.3 to use crypt passwords Kenny Drobnack <kenny@jumpline.com>
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2003-12-31 17:20 UTC (permalink / raw)
To: Kenny Drobnack <kenny@jumpline.com>; +Cc: pgsql-admin
Kenny Drobnack <kenny@jumpline.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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: forcing postgresql 7.3 to use crypt passwords
2003-12-31 16:12 forcing postgresql 7.3 to use crypt passwords Kenny Drobnack <kenny@jumpline.com>
2003-12-31 17:20 ` Re: forcing postgresql 7.3 to use crypt passwords Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-12-31 17:31 ` Kenny Drobnack <kenny@jumpline.com>
0 siblings, 0 replies; 4+ messages in thread
From: Kenny Drobnack @ 2003-12-31 17:31 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
On Wed, 2003-12-31 at 12:20, Tom Lane wrote:
> Kenny Drobnack <kenny@jumpline.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
Thanks! I got it figured out. I add "password_encryption = false" to
postgresql.conf and did ALTER USER ... PASSWORD on all the users. Then,
found some docs that said the crypt encryption option only encrypts
passwords going across network connections, not in the database. So I've
set that as the authorization method in pg_hba.conf. So we've got
passwords encrypted everywhere except in pg_shadow. It'll due till we
get everything upgraded to 7.3 or preferably 7.4.
--
Kenny
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-12-31 17:31 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 20:44 forcing postgresql 7.3 to use crypt passwords Kenny Drobnack <kenny@jumpline.com>
2003-12-31 16:12 forcing postgresql 7.3 to use crypt passwords Kenny Drobnack <kenny@jumpline.com>
2003-12-31 17:20 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-12-31 17:31 ` Kenny Drobnack <kenny@jumpline.com>
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