Re: Health warning:

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: Health warning:
Дата
Msg-id
20191217212419.GO3195@tamriel.snowman.net
Ответ на
Re: Health warning: (Zahid Rahman)
Список
Дерево обсуждения
Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: James Keener <jim@jimkeener.com>
Re: Health warning: Pedro Roy <leninc@gmail.com>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: Gerald Cheves <gcheves@verizon.net>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: Stephen Frost <sfrost@snowman.net>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: Stephen Frost <sfrost@snowman.net>
Re: Health warning: Gerald Cheves <gcheves@verizon.net>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: Adam Lipinski <ALipinski@exactal.com>
Re: Health warning: Justin <zzzzz.graf@gmail.com>
Re: Health warning: Zahid Rahman <zahidr1000@gmail.com>
Re: Health warning: Andrej <andrej.groups@gmail.com>
Greetings,

* Zahid Rahman (zahidr1000@gmail.com) wrote:
> I know a database whose name begins with O that does this.

That doesn't make it a good idea.

> the user types:
> *psql  -U postgres *
> 
> response:
> *PROBLEM: psql: error: could not connect to server: FATAL:  Peer
> authentication failed for user "postgres"*

This indicates that the user you're connecting as doesn't have
permission to log into the database as the 'postgres' user.

> *SOLUTION: change "local  all all  peer" in file
> /etc/postgresql/12/main/pg_hba.conf *
> *to "local  all all  trust".create password then change  back.*

Using "trust" there actually means that you're able to log into the
database as any user and is terribly insecure.

Thanks,

Stephen
В списке pgsql-novice по дате отправления
От: Zahid Rahman
Дата:
Сообщение: Re: Health warning:
От: Zahid Rahman
Дата:
Сообщение: Re: Health warning:
FAQ