Re: [GENERAL] pg_hba.conf and crypt

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Kevin Lo <jwlo(at)ms11(dot)hinet(dot)net>
Cc: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, Louis Zirkel III <lzirkel(at)cleverly(dot)com>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] pg_hba.conf and crypt
Date: 1999-05-06 21:05:42
Message-ID: 199905062105.WAA12878@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kevin Lo wrote:

>Hi, Oliver,
>
>I follow your instructions to do on my local machine, edit the file
>pg_hba.conf:
>
>local all password
>host all 127.0.0.1 255.255.255.255 crypt
>
>then I connect with psql, use the -u option, I got the following errors:
>
>% psql -u
>Username: postgres
>Password:
>
>User authentication failed
>Connection to database 'postgres' failed.
>User authentication failed

You must set a password for postgres before you change pg_hba.conf, using
`ALTER USER postgres WITH PASSWORD xxxxx'. It sounds as if you haven't
done this.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"If it is possible, as much as it depends on you, live
peaceably with all men." Romans 12:18

Browse pgsql-general by date

  From Date Subject
Next Message S P Arif Sahari Wibowo 1999-05-06 21:18:14 Restore from dump file: parse error
Previous Message Kevin Lo 1999-05-06 17:29:32 Re: [GENERAL] pg_hba.conf and crypt