Re: postgres-user <-> unix user - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: postgres-user <-> unix user
Date
Msg-id Pine.LNX.4.21.0009192043060.362-100000@peter
Whole thread Raw
In response to postgres-user <-> unix user  ("Tomas B. Winkler" <tomasw@cs.huji.ac.il>)
Responses Re: postgres-user <-> unix user  ("Tomas B. Winkler" <tomasw@cs.huji.ac.il>)
List pgsql-general
Tomas B. Winkler writes:

> I would like to allow any user which has an unix account in our system to
> be able to connect a DB. Can be postgres configured that an unix user
> become automatically also a postgres user ? I can figure out some ways
> to do it yet I'm looking for the most transparent one.
> Thanks a lot.

Use ident authentication with a map name of "sameuser". See the
documentation in the file pg_hba.conf.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: binary operators on integers
Next
From: Peter Eisentraut
Date:
Subject: Re: Psql Question