Re: Replacing MD5 hash in pg_auth... - Mailing list pgsql-general

From Tom Lane
Subject Re: Replacing MD5 hash in pg_auth...
Date
Msg-id 12836.1145074501@sss.pgh.pa.us
Whole thread Raw
In response to Re: Replacing MD5 hash in pg_auth...  (Steve Atkins <steve@blighty.com>)
List pgsql-general
Steve Atkins <steve@blighty.com> writes:
> On Apr 14, 2006, at 6:47 PM, Peter van der Maas wrote:
>> Is it correct to assume that if a user has write permission to
>> \data\global\pg_auth on a Win32 machine, the superuser's MD5 hash
>> can be replaced with one of a known origin in order to own the DB?

> Probably. It'd be much easier to edit pg_hba.conf, though.

Actually, if you have write permission on the $PGDATA tree, you
*already* own the DB for every practical purpose.  Focusing on passwords
is silly.

            regards, tom lane

pgsql-general by date:

Previous
From: Steve Atkins
Date:
Subject: Re: Replacing MD5 hash in pg_auth...
Next
From: "Shoaib Mir"
Date:
Subject: 21 bit number for sequence