pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sharon <sharon@erabyte.it>
To: pgsql-admin@postgresql.org
Subject: Fwd: Re: Admin user issue: unable to login after changing password
Date: Wed, 05 Feb 2014 11:34:08 +0100
Message-ID: <52F213A0.6090803@erabyte.it> (raw)
In-Reply-To: <52F21350.9060503@erabyte.it>
References: <52F21350.9060503@erabyte.it>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>




-------- Messaggio originale --------
Oggetto: 	Re: [ADMIN] Admin user issue: unable to login after changing 
password
Data: 	Wed, 05 Feb 2014 11:32:48 +0100
Mittente: 	sharon <sharon@erabyte.it>
A: 	desmodemone <desmodemone@gmail.com>



Hello sharon,
>                         first : please use bottom posting 
> <http://en.wikipedia.org/wiki/Posting_style#Bottom-posting; , so it's 
> more easy to read the mail history / thread from up to down.
> Second: could you attach the pg_hba.conf ?
> Third: how you connect to postgresql ?
> Four: after modify the pg_hba.conf, did you reload or restart postgresql?
>
> I explain:  if you connect to "localhost"  the rule
>
> host     all             postgres             localhost           trust
>
> make you enter in the database trough the 127.0.0.1 on 5432 ( I 
> imagine you have the default settings and the firewall with the open 
> port or firewall down ) without password
>
> psql -U postgres -h localhost
>
> will connect to database
>
> if you not specified "locahost"  the probably rule you will meet will 
> be about "local" connection :
>
> local     all             all peer
>
> that will make you enter without password, only if your OS account 
> exists in the database.
>
>
> Bye
>
> Mat
>
> Nessun virus nel messaggio.
> Controllato da AVG - www.avg.com <http://www.avg.com;
> Versione: 2014.0.4259 / Database dei virus: 3684/7062 - Data di 
> rilascio: 04/02/2014
>

Hi,
for some reason pgsql uses only the ipv6 configuration while i was 
changing the ipv4.
Now everything is working again.

Thank you very much for your help

Sharon

view thread (7+ messages)

Message-ID: <52F213A0.6090803@erabyte.it>
Permalink:  ../52F213A0.6090803@erabyte.it/
Also on:    postgresql.org/message-id/52F213A0.6090803@erabyte.it

 · 

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: sharon@erabyte.it
  Subject: Re: Fwd: Re: Admin user issue: unable to login after changing password
  In-Reply-To: <52F213A0.6090803@erabyte.it>

* 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