Problems with authentication

From: Orlando Eloy Gentil <gentil(at)cdludi(dot)com(dot)br>
To: pgsql-novice(at)postgresql(dot)org
Subject: Problems with authentication
Date: 2001-01-17 11:04:11
Message-ID: 3A657C2B.A5D51BCE@cdludi.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all,

I changed the last two lines from my pg_hda.conf (
"trust" to "crypt") in order to improve my security.
I did the following after "su -l postgres"
1-> createdb postgres
2-> chmod 600 pg_pwd
3-> psql
4-> alter user postgres with password postgres_pw
5-> \q
6-> changed the file pg_hda.conf as described later
7-> /etc/rc.d/init.d/postgresql restart

After this when I try to use "psql -u -d postgres" or "psql -u",
it
says that connection to database failed and failed authentication.
My Postmaster starts OK with -S -i -p 5432....
What can be happening?
Thanks in advance,

Orlando

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2001-01-17 11:29:42 Re: What am I doing wrong?
Previous Message Nabil Sayegh 2001-01-17 10:48:10 Re: LIKE optimization