From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Dat Chu <dattanchu(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to pg_dumpall without root password |
Date: | 2007-07-13 01:51:06 |
Message-ID: | 20070713015106.GR4887@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> If you're worried about having the system insecure even transiently
> against local bad guys, it's possible to do this without opening any
> hole, but it requires taking the DB down for a few minutes so you can
> do the password change in standalone mode.
An alternative to 'trust' might be to change pg_hba.conf to use 'ident'
over a local socket (on systems which support that). You'd need to know
the superuser name (usually 'postgres') and either become that user on
the unix side or set up an ident map from whatever user you want to
be...
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Douglas McNaught | 2007-07-13 01:58:47 | Re: Performance Question - Table Row Size |
Previous Message | Tom Lane | 2007-07-13 01:46:03 | Re: question on scan of clustered index |