Re: "trust" authentication in pg_hba.conf

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: "trust" authentication in pg_hba.conf
Дата
Msg-id 5654D8A0.6030405@hogranch.com
обсуждение исходный текст
Ответ на "trust" authentication in pg_hba.conf  (Chris Withers <chris@simplistix.co.uk>)
Список pgsql-general
On 11/24/2015 1:33 PM, Chris Withers wrote:
>
> What's the default contents of pg_hba.conf that postgres ships with?
>
> I've been to it contains 'trust' for all local connections.
> Is this wise? Anyone who can get a shell on your database server can
> connect to any database as any user?



it varies with distributions, and it can be specified via the -A/--auth
argument to initdb.   most distributions I've seen use 'peer' for local
connections by default.


--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Chris Withers
Дата:
Сообщение: "trust" authentication in pg_hba.conf
Следующее
От: anj patnaik
Дата:
Сообщение: Re: error messages not getting logged when running script from cron