Thread: sync linux and postgresql users and groups

sync linux and postgresql users and groups

From
"Toni Casueps"
Date:
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

From
brian
Date:
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