Re: password authentication

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Phuong Ma <pma(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: password authentication
Date: 2001-04-20 10:10:56
Message-ID: 200104201010.f3KAAvU29392@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Phuong Ma wrote:
>Hi,
>
> I was wondering what the different methods of creating a password
>accomplish because I created a password for a test user using the
>command WITH PASSWORD. I tried testing to see if I could log on without
>a password, and it worked. Is there anything else I would need to do to
>activate the password authentication? Does the pg_hba.conf file have
>anything to do with this? If it does, and I only want to create a
>password for this one user, would I specify it in the pg_hba.conf file?

Use pg_hba.conf to turn on password checking. Checking is done if
the connection method, database (and connection source for TCP/IP) match
a line in pg_hba.conf that requires it.

You cannot turn on checking per _user_. It's all users or none.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For this reason I also suffer these things,
but I am not ashamed; for I know whom I have
believed, and am persuaded that He is able to keep
that which I have committed unto him until that day."
II Timothy 1:12

Browse pgsql-general by date

  From Date Subject
Next Message Peter T Mount 2001-04-20 10:37:21 Re: Storing Photographs in Postgres?
Previous Message Peter Pilsl 2001-04-20 09:37:13 Re: problems with pg_dumplo (was Re: backup with blobs)