Re: How to know the password for the user 'postgres'

Поиск
Список
Период
Сортировка
От Thomas
Тема Re: How to know the password for the user 'postgres'
Дата
Msg-id 55da14450810280242s25901c17ye52ed53d9860981a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to know the password for the user 'postgres'  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Ответы Re: How to know the password for the user 'postgres'
Список pgsql-general
An easy trick I have found to set postgres password: $ sudo passwd
postgres, and now you can type a new password. So now you can switch
user with: $ su postgres, and then connect to the DB with psql.

Beware of pg_hba.conf, it is a bit tricky to understand how the
mechanism of authentification works whether you are on localhost or
remote.

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