Re: How to behive if I remove password from postgres role

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to behive if I remove password from postgres role
Дата
Msg-id 3339367.1678896743@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to behive if I remove password from postgres role  (Raivo Rebane <raivore55@gmail.com>)
Список pgsql-general
Raivo Rebane <raivore55@gmail.com> writes:
> Then I altered role of postgres so, that password = NULL.
> Now I am in situation that I can't run any postgres command.
> What I must to do ?

Stop the server, start it in single-user mode (postgres --single),
issue an ALTER USER command to undo the damage.

Or modify pg_hba.conf to let you in without a password.  Local
peer auth, for example, is perfectly secure.

            regards, tom lane



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How to behive if I remove password from postgres role
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Table scan on 15.2