Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Etc-0005Vn-Em for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:25:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4Etc-0006zF-1Y for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:25:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4Etb-0006yl-An for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:25:03 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1a4EtY-0002cr-Gn for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:25:02 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id tB2KOtq05745 for ; Wed, 2 Dec 2015 12:24:55 -0800 Subject: Re: user can't access own database after creation To: pgsql-jdbc@postgresql.org References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <565F4D26.1050501@hogranch.com> <0C62C048-16A6-4BAD-84BD-3570A1063DC1@gmail.com> <565F56E8.8020402@hogranch.com> <573F2464-91B2-465A-9124-F3146DC736C9@gmail.com> From: John R Pierce Message-ID: <565F61A1.2050802@hogranch.com> Date: Wed, 2 Dec 2015 13:24:49 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <573F2464-91B2-465A-9124-F3146DC736C9@gmail.com> Content-Type: multipart/alternative; boundary="------------030307010500040206090305" X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------030307010500040206090305 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 12/2/2015 1:00 PM, Nuno Zimas wrote: >> >> what does the pg_hba.conf file look like on the ubuntu server ? > > > You can see the file contents here: > http://pastebin.com/vYQMsP27 these three lines, 1. host all all 78.47.104.116/32 trust 2. host all all 62.210.69.197/32 trust 3. host all all 10.10.10.99/32 trust they state that anyone on those 3 hosts can connect as any postgres user including the superuser 'postgres' without any authentication required at all . Also, I see nothing in there about SSL. -- john r pierce, recycling bits in santa cruz --------------030307010500040206090305 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 12/2/2015 1:00 PM, Nuno Zimas wrote:

what does the pg_hba.conf file look like on the ubuntu server ?


You can see the file contents here:


these three lines,
  1. host    all             all             78.47.104.116/32           trust
  2. host    all             all             62.210.69.197/32           trust
  3. host    all             all             10.10.10.99/32           trust


they state that anyone on those 3 hosts can connect as any postgres user including the superuser 'postgres' without any authentication required at all

.
Also, I see nothing in there about SSL.

-- 
john r pierce, recycling bits in santa cruz
--------------030307010500040206090305--