Re: Regarding access to a user

From: Tomasz Ostrowski <tometzky(at)batory(dot)org(dot)pl>
To: Shashwat_Nigam <Shashwat_Nigam(at)satyam(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Regarding access to a user
Date: 2008-08-21 09:07:03
Message-ID: 48AD3037.6060700@batory.org.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-sql

On 2008-08-21 10:53, Shashwat_Nigam wrote:

> 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.

Order matters:
host HMRI_database hmri 127.0.0.1/32 md5
host all all 127.0.0.1/32 md5

Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
Winnie the Pooh

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shashwat_Nigam 2008-08-21 09:12:13 Re: Regarding access to a user
Previous Message Shashwat_Nigam 2008-08-21 09:05:43 Re: Regarding access to a user

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2008-08-21 09:09:38 Interval Formatting -> Convert to timestamp
Previous Message Shashwat_Nigam 2008-08-21 09:05:43 Re: Regarding access to a user

Browse pgsql-sql by date

  From Date Subject
Next Message Shashwat_Nigam 2008-08-21 09:12:13 Re: Regarding access to a user
Previous Message Shashwat_Nigam 2008-08-21 09:05:43 Re: Regarding access to a user