Re: authentication failure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, dinesh kumar <dineshkumar02(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: authentication failure
Date: 2014-01-05 17:42:59
Message-ID: 27739.1388943779@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com> writes:
> back to md5
> psql -h localhost
> psql: FATAL: password authentication failed for user "postgres"
> [ but there's no .pgpass file ]

Perhaps the postgres user has a password that's marked as expired
in pg_authid.rolvaliduntil? Try
select rolname, rolvaliduntil from pg_authid;

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-01-05 17:48:19 Re: authentication failure
Previous Message Adrian Klaver 2014-01-05 17:12:30 Re: authentication failure