Re: sync linux and postgresql users and groups - Mailing list pgsql-general

From brian
Subject Re: sync linux and postgresql users and groups
Date
Msg-id 455B5E9B.9050008@zijn-digital.com
Whole thread Raw
In response to sync linux and postgresql users and groups  ("Toni Casueps" <casueps@hotmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: "Toni Casueps"
Date:
Subject: sync linux and postgresql users and groups
Next
From: "Ilja Golshtein"
Date:
Subject: Re: Discover temporary INDEX/TABLE name