Re: How to pg_dumpall without root password

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: How to pg_dumpall without root password
Дата
Msg-id 20070713015106.GR4887@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: How to pg_dumpall without root password  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
* Tom Lane (tgl@sss.pgh.pa.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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: question on scan of clustered index
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Force SSL / username combination