Re: [ADMIN] Regarding access to a user - Mailing list pgsql-general

From Albe Laurenz
Subject Re: [ADMIN] Regarding access to a user
Date
Msg-id D960CB61B694CF459DCFB4B0128514C20267A8B1@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: [ADMIN] Regarding access to a user  (Shashwat_Nigam <Shashwat_Nigam@satyam.com>)
List pgsql-general
Shashwat_Nigam wrote:
> Thanks for the help. But still the user is able to see all
> the databases. I defined something like this
>
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          md5
> host    HMRI_database   hmri    127.0.0.1/32          md5
>
>
> in the above case hmri is user and HMRI_database. But still
> when user is log in as 'hmri' it is able to access all the databases.
> Please provide a solution for the same.

Remove the first line, and you'll be fine.

PostgreSQL uses the first line in pg_hba.conf that matches the
incoming connection.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Ow Mun Heng
Date:
Subject: Re: Interval Formatting -> Convert to timestamp
Next
From: "Merlin Moncure"
Date:
Subject: Re: plpgsql - sorting result set