Re: Linux Users vs PostgreSQL Users

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Linux Users vs PostgreSQL Users
Дата
Msg-id 1964959.RzZLW81nZ5@skynet.simkin.ca
обсуждение исходный текст
Ответ на Linux Users vs PostgreSQL Users  (Michael Convey <smconvey@gmail.com>)
Ответы Re: Linux Users vs PostgreSQL Users  (Alan Hodgson <ahodgson@simkin.ca>)
Список pgsql-novice
On Tuesday, November 10, 2015 10:41:35 AM Michael Convey wrote:
> ​Are PostgreSQL roles always associated with a Linux user account? In other
> words, can I have a PostgresSQL user account that is unrelated to any Linux
> account? Is there a detailed tutorial on accounts and roles that explains
> this topic? I found the following confusing:
>
> http://www.postgresql.org/docs/9.3/static/client-authentication.html
> http://www.postgresql.org/docs/9.3/static/user-manag.html
> http://www.postgresql.org/docs/9.3/static/database-roles.html

PostgreSQL roles are created and maintained separately from system accounts.

It is possible to setup PostgreSQL in such a way that it can share
authentication information with identically-named systems accounts, but is not
normally setup that way.

It is common, though, that distributions will setup PostgreSQL in such a way
that it automatically trusts connections from identically named systems
accounts via the Trust authentication method. You can change that in
pg_hba.conf.

Вложения

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

Предыдущее
От: Felipe Santos
Дата:
Сообщение: Re: Linux Users vs PostgreSQL Users
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Linux Users vs PostgreSQL Users