Re: db security (md5)

From: jseymour(at)LinxNet(dot)com (Jim Seymour)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: db security (md5)
Date: 2004-04-19 20:53:54
Message-ID: 20040419205354.A03DC4307@jimsun.LinxNet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Sally Sally" <dedeb17(at)hotmail(dot)com> wrote:
>
> I wanted to use md5 authentication method for my pg db. I was initially
> using a trust method and I noticed when I switched to md5 I had to assign a
> password to the user postgres as it was created without one. Here do I pass
> an md5 encrypted string?

No. md5 just refers to the way it's stored in pgsql.

> Also everytime I connect via perl's DBI do I have
> to pass it the encrypted string (if so which perl module for md5 encryption
> is the best to use?)

See above.

> I was confused as to whether I should create the password encrypted or
> whether postgres saves it encrypted.

The latter.

Jim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Hatcher 2004-04-19 21:06:04 Is there a newer version of DBD::Pg?
Previous Message scott.marlowe 2004-04-19 20:40:40 Re: Data Encryption in PostgreSQL, and a Tutorial.