how to recover superuser password ?

Поиск
Список
Период
Сортировка
От Patrick
Тема how to recover superuser password ?
Дата
Msg-id 20021202163404.GH28102@nohope.patoche.org
обсуждение исходный текст
Ответы Re: how to recover superuser password ?  (Joel Burton <joel@joelburton.com>)
Список pgsql-novice
My superuser (postgres) had a password.
I attempted to change it by doing (and not thinking very much):
template1=# alter user postgres with password '';
ALTER USER
template1=# \q

After what I am unable to connect anymore as superuser, which is a
big problem (plain [ENTER] on the password prompt is rejected)

Is there any way to change the superuser password without completely
deleting my postgreSQL installation which is in use in production ?
(I have complete unix root access)

Thanks to all in advance.
I did not found anything relevant online.

Patrick.

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

Предыдущее
От: "Chris Boget"
Дата:
Сообщение: Starting postmaster in rc.local
Следующее
От: Joel Burton
Дата:
Сообщение: Re: how to recover superuser password ?