Search Postgresql Archives

Re: How to pg_dumpall without root password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Tom Lane (tgl@xxxxxxxxxxxxx) 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

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux