Re: Forgot Root Password

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Forgot Root Password
Дата
Msg-id 13088.1209230502@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Forgot Root Password  (Ray Stell <stellr@cns.vt.edu>)
Список pgsql-admin
Ray Stell <stellr@cns.vt.edu> writes:
> On Sat, Apr 26, 2008 at 11:00:35AM +0530, Kranti K K Parisa? wrote:
>> Can anyone suggest a way to retrieve/update the postgres root password ?

> edit pg_hba.conf so that localhost connections from localhost are
> trusted maybe like this:

> host    all         all         127.0.0.1/32          trust

> you have to restart, but then you can do an alter user and so can all
> the other local users.

"ident" mode might be a safer option.

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Forgot Root Password
Следующее
От: "Márcio Aguiar Ribeiro"
Дата:
Сообщение: Re: Server format and recovery