Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 755719FB614 for ; Wed, 25 Jul 2007 22:01:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 95927-02 for ; Wed, 25 Jul 2007 22:01:22 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 1D5A09FB59F for ; Wed, 25 Jul 2007 22:01:21 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IDrj6-0007sb-A8 for pgsql-admin@postgresql.org; Thu, 26 Jul 2007 03:01:12 +0200 Received: from 77.70.61.39 ([77.70.61.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2007 03:01:12 +0200 Received: from milen by 77.70.61.39 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2007 03:01:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: "Milen A. Radev" Subject: Re: granting acces to an external client Date: Thu, 26 Jul 2007 04:01:03 +0300 Lines: 21 Message-ID: References: <20070426092857.82e2da22.wmoran@potentialtech.com> <20070725101447.BFD908E40FC@mailhost.ics.forth.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 77.70.61.39 User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) In-Reply-To: <20070725101447.BFD908E40FC@mailhost.ics.forth.gr> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.768 tagged_above=0 required=5 tests=AWL=1.300, BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067 X-Spam-Level: X-Archive-Number: 200707/288 X-Sequence-Number: 26269 Sorin N. Ciolofan написа: > Hello! > > I'd like to ask you what line should be added in pg_hba.conf file in order > to grant access to a user with ip > 139.100.99.98 to a db named "myDB" with user "scott" with password > "mikepwd"? > > After modifying this file is enough to issue > pg_ctl reload > or should I restart postgres? > http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html (Hint: look for "The pg_hba.conf file is read on...") -- Milen A. Radev