From: | Athanasios Kostopoulos <athanasios(dot)kostopoulos(at)classmarkets(dot)com> |
---|---|
To: | "Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: .pgpass not working |
Date: | 2013-08-07 14:12:53 |
Message-ID: | CAFnWstP9Z_rtk=eg4w4fur5Ur6JGpi8P_rRbcLhN1d=2DZk6ag@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hi all,
try changing authentication method from identd to md5, reload the database
so it reads the configuration file and try again.
On Wed, Aug 7, 2013 at 4:03 PM, Birchall, Austen <
austen(dot)birchall(at)metoffice(dot)gov(dot)uk> wrote:
> psql (8.4.13) on Red Hat 6
>
> I am trying to setup .pgpass and testing it I get:
>
>
> [postgres(at)myhost:~]$ whoami
> postgres
> [postgres(at)myhost:~]$ echo $HOME
> /var/lib/pgsql
> [postgres(at)myhost:~]$ pwd
> /var/lib/pgsql
> [postgres(at)myhost:~]$ ls -la .pgpass
> -rw-------. 1 postgres postgres 20 Aug 7 13:52 .pgpass
> [postgres(at)myhost:~]$ view .pgpass
> *:*:*:austen:austen
>
> [postgres(at)myhost:~]$ psql -U austen -d mudb
> psql: FATAL: Ident authentication failed for user "austen"
> [postgres(at)myhost:~]$
>
> Can anybody see what I am doing wrong?
>
> Thanks
>
> Austen
>
>
> Austen Birchall Senior Database Administrator
> Met Office
>
>
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice
>
--
classmarkets GmbH | Schumannstraße 6 | 10117 Berlin | Deutschland
Tel: +49 (0)30 56 59 001-0 | Fax: +49 (0)30 56 59 001-99 |
www.classmarkets.com
Amtsgericht Charlottenburg HRB 111815 B | USt.Id.Nr: DE 260731582
Geschäftsführer: Veit Mürz, Fabian Ströhle
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf
ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen,
kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
unverzüglich zu informieren und die Nachricht zu löschen. Jede unerlaubte
Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig
oder teilweise, ist unzulässig. Bitte beachten Sie, dass E-Mail-Nachrichten
an den Absender nicht für fristgebundene Mitteilungen geeignet sind.
Fristgebundene Mitteilungen sind daher ausschließlich per Post oder per
Telefax zu übersenden.
From | Date | Subject | |
---|---|---|---|
Next Message | Birchall, Austen | 2013-08-07 15:16:39 | Re: .pgpass not working |
Previous Message | Birchall, Austen | 2013-08-07 14:03:07 | .pgpass not working |