Re: .pgpass not working

Поиск
Список
Период
Сортировка
От Birchall, Austen
Тема Re: .pgpass not working
Дата
Msg-id 4E154FB60786D74BB4DFDC97BF991CAC076E1A@EXXCMPD1DAG2.cmpd1.metoffice.gov.uk
обсуждение исходный текст
Ответ на Re: .pgpass not working  (Athanasios Kostopoulos <athanasios.kostopoulos@classmarkets.com>)
Список pgsql-novice

Yes thanks

 

It works now

 

Austen

 

Austen Birchall  Senior Database Administrator
Met Office
FitzRoy Road Exeter EX1 3PB United Kingdom
Tel: +44 (0)1392 884481 Fax: +44 (0)1392 885681
E-mail: austen.birchall@metoffice.gov.uk Website: http://www.metoffice.gov.uk

 

From: Athanasios Kostopoulos [mailto:athanasios.kostopoulos@classmarkets.com]
Sent: 07 August 2013 15:13
To: Birchall, Austen
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] .pgpass not working

 

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.birchall@metoffice.gov.uk> wrote:

psql (8.4.13) on Red Hat 6

I am trying to setup .pgpass and testing it I get:


[postgres@myhost:~]$ whoami
postgres
[postgres@myhost:~]$ echo $HOME
/var/lib/pgsql
[postgres@myhost:~]$ pwd
/var/lib/pgsql
[postgres@myhost:~]$ ls -la .pgpass
-rw-------. 1 postgres postgres 20 Aug  7 13:52 .pgpass
[postgres@myhost:~]$ view .pgpass
*:*:*:austen:austen

[postgres@myhost:~]$ psql -U austen -d mudb
psql: FATAL:  Ident authentication failed for user "austen"
[postgres@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@postgresql.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.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Athanasios Kostopoulos
Дата:
Сообщение: Re: .pgpass not working
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: User with "almost" superuser privileges