Обсуждение: sync linux and postgresql users and groups

Поиск
Список
Период
Сортировка

sync linux and postgresql users and groups

От
"Toni Casueps"
Дата:
Is this possible? It want to avoid the need for two passwords, one for login
and another one for the database.

The user accounts and the Postgresql server are on the same machine.

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias.
http://www.msn.es/Mujer/moda/default.asp


Re: sync linux and postgresql users and groups

От
brian
Дата:
Toni Casueps wrote:
>
> Is this possible? It want to avoid the need for two passwords, one for
> login and another one for the database.
>
> The user accounts and the Postgresql server are on the same machine.
>

See pg_hba.conf You want ident sameuser under "METHOD".

Don't forget to run

# pg_ctl reload

for your change to take effect.

brian