pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Ostrowski <tometzky@batory.org.pl>
To: Shashwat_Nigam <Shashwat_Nigam@satyam.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Regarding access to a user
Date: Thu, 21 Aug 2008 11:20:03 +0200
Message-ID: <48AD3343.5020008@batory.org.pl> (raw)
In-Reply-To: <B3F7216EEA3D5D49A0841DFC6843C33AB9BF0A@HSTMBX004.corp.satyam.ad>
References: <B3F7216EEA3D5D49A0841DFC6843C33AB9BC9B@HSTMBX004.corp.satyam.ad>
	<48ABD192.EE98.0025.0@wicourts.gov>
	<B3F7216EEA3D5D49A0841DFC6843C33AB9BEEE@HSTMBX004.corp.satyam.ad>
	<48AD3037.6060700@batory.org.pl>
	<B3F7216EEA3D5D49A0841DFC6843C33AB9BF0A@HSTMBX004.corp.satyam.ad>

On 2008-08-21 11:12, Shashwat_Nigam wrote:

> I had done the same but still the problem is like that the user is
> able to access all the databases in the current server. Even the
> order is like same and if I comment the second line(all access) then
> the error is there.

You did issue "pg_ctl reload" or restart postgresql after making changes
to pg_hba.conf?

http://www.postgresql.org/docs/8.3/interactive/auth-pg-hba-conf.html
	The pg_hba.conf file is read on start-up and when the main
	server process receives a SIGHUP signal. If you edit the file
	on an active system, you will need to signal the server (using
	pg_ctl reload or kill -HUP) to make it re-read the file.

> Please provide solution for the same.

Please read the fine manual.

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



view thread (15+ messages)  latest in thread

Message-ID: <48AD3343.5020008@batory.org.pl>
Permalink:  ../48AD3343.5020008@batory.org.pl/
Also on:    postgresql.org/message-id/48AD3343.5020008@batory.org.pl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tometzky@batory.org.pl, Shashwat_Nigam@satyam.com, pgsql-general@postgresql.org
  Subject: Re: Regarding access to a user
  In-Reply-To: <48AD3343.5020008@batory.org.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox