Re: Fwd: resetting superuser password

Поиск
Список
Период
Сортировка
От mad
Тема Re: Fwd: resetting superuser password
Дата
Msg-id 1131558609.146035.262450@g44g2000cwa.googlegroups.com
обсуждение исходный текст
Ответ на Re: Fwd: resetting superuser password  (Devrim GUNDUZ <devrim@gunduz.org>)
Список pgsql-admin
Thanks to all who replied, and all apologies for the multiple posting
(my fault).

The solution (in postgres 8.0.1):

Edit data/pg_hba.conf to contain the line:

local all postgres trust

Then su to unix user postgres and restart postges with:

> bin/pg_ctl restart -D /usr/local/pgsql/data -m fast

and finally, login to postgres with:

> psql -U postgres -d template1

and do

alter user postgres with encrypted password 'newpass';

Remove the line added to pg_hba.conf, and restart postgres again!
I'm a happy (and very relieved) camper.

Marc


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Xeon vs Opteron - tests and questions
Следующее
От: Marcin Giedz
Дата:
Сообщение: Re: Xeon vs Opteron - tests and questions