Re: authentication failure - Mailing list pgsql-general

From Tom Lane
Subject Re: authentication failure
Date
Msg-id 27739.1388943779@sss.pgh.pa.us
Whole thread Raw
In response to Re: authentication failure  (Jayadevan M <maymala.jayadevan@gmail.com>)
Responses Re: authentication failure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Jayadevan M <maymala.jayadevan@gmail.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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: authentication failure
Next
From: Tom Lane
Date:
Subject: Re: authentication failure